eniac@eniac-desktop:~/Desktop/qt$ make /usr/share/qt3/bin/uic form1.ui -i form1.h -o .ui/form1.cpp g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ -I. -I.moc/ -o .obj/form1.o .ui/form1.cpp .ui/../form1.ui.h: In function ‘int main()’: .ui/../form1.ui.h:15: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:22: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:30: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:38: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:46: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:54: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:62: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:70: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:78: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:86: error: a function-definition is not allowed here before ‘{’ token .ui/../form1.ui.h:94: error: a function-definition is not allowed here before ‘{’ token make: *** [.obj/form1.o] Error 1