|

楼主 |
发表于 2003-5-18 14:42:22
|
显示全部楼层
我照着你说的做了!可是MAKE之后报错!
In file included from main.cpp:1:
form1.h:4:22: qvariant.h: No such file or directory
form1.h:5:21: qwidget.h: No such file or directory
In file included from main.cpp:1:
form1.h:12: parse error before `{' token
form1.h:21: destructors must be member functions
form1.h:27: parse error before `}' token
main.cpp:2:26: qapplication.h: No such file or directory
main.cpp:3:18: qapp.h: No such file or directory
main.cpp: In function `int main(int, char**)':
main.cpp:7: `QApplication' undeclared (first use this function)
main.cpp:7: (Each undeclared identifier is reported only once for each function
it appears in.)
main.cpp:7: parse error before `(' token
main.cpp:8: `form1' undeclared (first use this function)
main.cpp:8: parse error before `(' token
main.cpp:10: `a' undeclared (first use this function)
make: *** [main.o] Error 1 |
|