大家好,我用的tq2440开发板,编译arm_qt4.5_build的时候,想要加入QtDbus,将-no-dbus,改为-dbus,结果报错。请问是怎么回事呀
The QtDBus module cannot be enabled because libdbus-1 version 0.62 was
not found.
Turn on verbose messaging (-v) to ../../qt-embedded-linux-opensource-src-4.5.0/configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ../../qt-embedded-linux-opensource-src-4.5.0/configure to continue.
Build Qt4.5 library now, please wait ...
gmake: ***
没有指明目标并且找不到 makefile。 停止。
Install Qt4.5 library now, please wait ...
gmake: %
arm_qt4.5_build为:
- #!/bin/sh
- if [ -d build/build_arm ] ; then
- echo "the build_arm directory is already !"
- else
- mkdir -p build/build_arm
- fi
- if [ -d __install/arm ] ; then
- echo "the __install/arm directory is already !"
- else
- mkdir -p __install/arm
- fi
- cd build/build_arm/
- if [ -f Makefile ] ; then
- echo "the Makefile is already !"
- else
- echo "Config Qt4.5 now, please wait ..."
- echo yes | ../../qt-embedded-linux-opensource-src-4.5.0/configure -prefix /opt/EmbedSky/qt-4.5/__install/arm/ -release -shared -fast -no-largefile -qt-sql-sqlite -no-qt3support -no-xmlpatterns -no-mmx -no-3dnow -no-sse -no-sse2 -no-svg -webkit -qt-zlib -qt-gif -qt-libtiff -qt-libpng -qt-libjpeg -make libs -nomake examples -nomake docs -nomake demo -no-nis -no-cups -no-iconv -dbus -no-openssl -xplatform qws/linux-arm-g++ -embedded arm -little-endian -qt-freetype -depths 16 -qt-gfx-linuxfb -qt-gfx-transformed -qt-gfx-multiscreen -no-gfx-vnc -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -no-glib -armfpa -no-mouse-qvfb -qt-mouse-linuxtp -qt-mouse-tslib -I/tslib-1.4/inclued -L/tslib-1.4/lib &&
- echo "Finished config Qt4.5 !"
- fi
- if [ -f lib/libQtCore.so.4.5.0 ] ; then
- echo "Qt4.5 library build complete !"
- else
- echo "Build Qt4.5 library now, please wait ..."
- gmake &&
- echo "Finished build Qt4.5 !"
- fi
- if [ -f ../../__install/arm/lib/libQtCore.so.4.5.0 ] ; then
- echo "Qt4.5 library install in __install/arm/ !"
- else
- echo "Install Qt4.5 library now, please wait ..."
- gmake install &&
- echo "Finished install Qt4.5 !"
- fi
- cd ../../
加入-webkit 的时候将-no-webkit改为-webkit ,可以
编译成功。
The QtDBus module cannot be enabled because libdbus-1 version 0.62 was not found.该怎么解决呢?