./configure -xplatform linux-arm-g++
make
出这样的错:
make -C libraries/qtopia
make[1]: Entering directory `/qte/qte-arm/qtopia-free-1.7.0/src/libraries/qtopia'
g++ -c -I/qte/qte-arm/qtopia-free-1.7.0/include -I/qte/qte-arm/qt-2.3.2/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -DQTOPIA_APP_INTERFACE -DQTOPIA_WIN32PROCESS_SUPPORT -I.moc/linux-generic-g++/ -I/qte/qte-arm/qtopia-free-1.7.0/include -o .obj/linux-generic-g++//calendar.o calendar.cpp
/qte/qte-arm/qt-2.3.2/bin/moc global.cpp -o .moc/linux-generic-g++//global.moc
g++ -c -I/qte/qte-arm/qtopia-free-1.7.0/include -I/qte/qte-arm/qt-2.3.2/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -DQTOPIA_APP_INTERFACE -DQTOPIA_WIN32PROCESS_SUPPORT -I.moc/linux-generic-g++/ -I/qte/qte-arm/qtopia-free-1.7.0/include -o .obj/linux-generic-g++//global.o global.cpp
In file included from global.cpp:37:
/qte/qte-arm/qtopia-free-1.7.0/include/qtopia/qcopenvelope_qws.h:24:29: qcopchannel_qws.h: 没有那个文件或目录
global.cpp: In static member function `static void Global::applyStyle()':
global.cpp:365: no method `QCopChannel::send'
global.cpp: In static member function `static QWidget* Global::shutdown(bool)':
global.cpp:377: no method `QCopChannel::send'
global.cpp: In static member function `static QWidget* Global::restart(bool)':
global.cpp:388: no method `QCopChannel::send'
global.cpp: In static member function `static void Global::showInputMethod()':
global.cpp:406: no method `QCopChannel::send'
global.cpp: In static member function `static void Global::hideInputMethod()':
global.cpp:421: no method `QCopChannel::send'
global.cpp: In static member function `static void Global::terminate(const
AppLnk*)':
global.cpp:500: no method `QCopChannel::isRegistered'
make[1]: *** [.obj/linux-generic-g++//global.o] Error 1
make[1]: Leaving directory `/qte/qte-arm/qtopia-free-1.7.0/src/libraries/qtopia'make: *** [libraries/qtopia] Error 2
我随后将qt-2.3.7里的qcopchannel_qws.h文件复制到 /qte/qte-arm/qtopia-free-1.7.0/include/qtopia/ 下
还是报一样的错.
看看这是什么原因吧. 先谢谢了!
[ 此贴被XChinux在2006-05-13 22:39重新编辑 ]