|
楼主 |
发表于 2005-8-1 10:26:13
|
显示全部楼层
大概按你 说的改了工程文件,然后编译,不过我用的是TMAKE
好多警告,只截取部分如下:
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
from config.cpp:28:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
config.cpp: In member function `void Config::newFolderEntry(Folder)':
config.cpp:178: warning: unused parameter `Folder folder'
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fno-default-inline -DNO_DEBUG -I/usr/local/pcqt1.7/qt-2.3.7/include -I/opt/Qtopia/include -I/opt/Qtopia/include/qtopia -I/opt/Qtopia/include/qpe -o configfile.o configfile.cpp
最后出错:
gcc -o qpemail classes.o composer.o config.o configfile.o mailparser.o main.o mainwindow.o newaccount.o newfolder.o newident.o passdlg.o pop.o smtp.o viewmail.o moc_composer.o moc_config.o moc_mailparser.o moc_mainwindow.o moc_newaccount.o moc_newfolder.o moc_newident.o moc_passdlg.o moc_pop.o moc_smtp.o moc_viewmail.o -L/usr/local/pcqt1.7/qt-2.3.7/lib -L/opt/Qtopia/lib -lm -lqte -lqtopia -lqpe
classes.o(.gnu.linkonce.t._ZNK10QVNCServer10metaObjectEv+0x5): In function `QVNCServer::metaObject() const':
: undefined reference to `QVNCServer::staticMetaObject()'
/opt/Qtopia/lib/libqtopia.so: undefined reference to `QMetaObject::new_metaobject(char const*, char const*, QMetaData*, int, QMetaData*, int, QClassInfo*, int)'
collect2: ld returned 1 exit status
make: *** [qpemail] Error 1
这是怎么回事呢?
|
|