hello.log如下:
rm -f .obj/release-shared/moc_hello_base.o
rm -f .moc/release-shared/moc_hello_base.cpp
rm -f .ui/release-shared/hello_base.cpp .ui/release-shared/hello_base.h
rm -f .obj/release-shared/hello.o .obj/release-shared/main.o .obj/release-shared/hello_base.o
rm -f *~ core *.core
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic hello_base.ui -o .ui/release-shared/hello_base.h
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-generic-g++ -I. -I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include -I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/ -I. -I.moc/release-shared/ -o .obj/release-shared/hello.o hello.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-generic-g++ -I. -I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include -I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/ -I. -I.moc/release-shared/ -o .obj/release-shared/main.o main.cpp
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic hello_base.ui -i hello_base.h -o .ui/release-shared/hello_base.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-generic-g++ -I. -I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include -I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/ -I. -I.moc/release-shared/ -o .obj/release-shared/hello_base.o .ui/release-shared/hello_base.cpp
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/moc .ui/release-shared/hello_base.h -o .moc/release-shared/moc_hello_base.cpp
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"hello\" -DQTOPIA_TRTARGET=\"hello\" -DQT_NO_DEBUG -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-generic-g++ -I. -I. -I../qtopia-2.2.0-FriendlyARM/qtopia/include -I../qtopia-2.2.0-FriendlyARM/qt2/include -I.ui/release-shared/ -I. -I.moc/release-shared/ -o .obj/release-shared/moc_hello_base.o .moc/release-shared/moc_hello_base.cpp
g++ -o hello .obj/release-shared/hello.o .obj/release-shared/main.o .obj/release-shared/hello_base.o .obj/release-shared/moc_hello_base.o -L/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib -L/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/lib -lqte
.obj/release-shared/main.o(.text+0x41): In function `main':
: undefined reference to `QPEApplication::QPEApplication[in-charge](int&, char**, QApplication::Type)'
.obj/release-shared/main.o(.text+0x20e): In function `main':
: undefined reference to `QPEApplication::showMainDocumentWidget(QWidget*, bool)'
.obj/release-shared/main.o(.text+0x21a): In function `main':
: undefined reference to `QPEApplication::exec()'
.obj/release-shared/main.o(.text+0x256): In function `main':
: undefined reference to `QPEApplication::~QPEApplication [in-charge]()'
.obj/release-shared/main.o(.text+0x27e): In function `main':
: undefined reference to `QPEApplication::showMainWidget(QWidget*, bool)'
.obj/release-shared/main.o(.text+0x2a7): In function `main':
: undefined reference to `QPEApplication::~QPEApplication [in-charge]()'
collect2: ld returned 1 exit status
make: *** [hello] Error 1[ 此帖被396954504在2010-03-18 17:06重新编辑 ]