|
按照手册上来的,弄了几次了,都是相同的错误
[root@localhost first]# make
Makefile:131: warning: overriding commands for target `moc_first.cpp'
Makefile:128: warning: ignoring old commands for target `moc_first.cpp'
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/opt/EmbedSky/Qte/x86-qtopia/qt/include -I/opt/EmbedSky/Qte/x86-qtopia/qtopia/include -o
first.o first.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/opt/EmbedSky/Qte/x86-qtopia/qt/include -I/opt/EmbedSky/Qte/x86-qtopia/qtopia/include -o
main.o main.cpp
main.cpp: In function `QWidget* create_first(QWidget*, const char*, unsigned
int)':
main.cpp:5: parse error before `(' token
main.cpp:5: warning: unused parameter `QWidget*p'
main.cpp:5: warning: unused parameter `const char*n'
main.cpp:5: warning: unused parameter `uint f'
make: *** [main.o] Error 1
谢谢了 |
|