There is a typo: felipe2:~/Programas/qt4pas-V1.51_Qt4.3.1 felipemonteirodecarvalho$ ./compile_lib_mac.sh qtpas.cpp:287: error: expected unqualified-id before '{' token A ; at the end of the c function. I make that mistake all the time when programming in c =)) -- Felipe Monteiro de Carvalho