[S.u.S.E. Linux] Qt lib compile error
hi, all I'm sorry to ask sam question again, but this is last. My question is how to compile the program with Qt library in SuSE. I tried cc -o hello -I$QTDIR/include -L$QTDIR/lib hello.c then, I got this error message, -----------------< error msg >------------------------------------ In file included from /usr/X11R6/lib/qt/include/qobjdefs.h:26, from /usr/X11R6/lib/qt/include/qwindefs.h:27, from /usr/X11R6/lib/qt/include/qwidget.h:26, from /usr/X11R6/lib/qt/include/qapp.h:26, from hello.c:7: /usr/X11R6/lib/qt/include/qglobal.h:251: parse error before `FALSE' /usr/X11R6/lib/qt/include/qglobal.h:251: warning: data definition has no type or storage class /usr/X11R6/lib/qt/include/qglobal.h:252: parse error before `TRUE' /usr/X11R6/lib/qt/include/qglobal.h:252: warning: data definition has no type or storage class . . . -------------------------------------------------------------------- hello.c is tutorial demo #1 program and $QTDIR is Qt's home directory. Any help would be appreciated Cheers jae -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (1)
-
jae@student.unsw.EDU.AU