• 8484阅读
  • 1回复

[提问]qt4.5中加入QtDbus [复制链接]

上一主题 下一主题
离线haoyunp
 
只看楼主 倒序阅读 楼主  发表于: 2011-08-31
大家好,我用的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为:
  1. #!/bin/sh
  2. if [ -d build/build_arm ] ; then
  3. echo "the build_arm directory is already !"
  4. else
  5. mkdir -p build/build_arm
  6. fi
  7. if [ -d __install/arm ] ; then
  8. echo "the __install/arm directory is already !"
  9. else
  10. mkdir -p __install/arm
  11. fi
  12. cd build/build_arm/
  13. if [ -f Makefile ] ; then
  14. echo "the Makefile is already !"
  15. else
  16. echo "Config Qt4.5 now, please wait ..."
  17. 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 &&
  18. echo "Finished config Qt4.5 !"
  19. fi
  20. if [ -f lib/libQtCore.so.4.5.0 ] ; then
  21. echo "Qt4.5 library build complete !"
  22. else
  23. echo "Build Qt4.5 library now, please wait ..."
  24. gmake &&
  25. echo "Finished build Qt4.5 !"
  26. fi
  27. if [ -f ../../__install/arm/lib/libQtCore.so.4.5.0 ] ; then
  28. echo "Qt4.5 library install in __install/arm/ !"
  29. else
  30. echo "Install Qt4.5 library now, please wait ..."
  31. gmake install &&
  32. echo "Finished install Qt4.5 !"
  33. fi
  34. cd ../../


加入-webkit 的时候将-no-webkit改为-webkit ,可以编译成功。
The QtDBus module cannot be enabled because libdbus-1 version 0.62 was not found.该怎么解决呢?
离线mountain0728

只看该作者 1楼 发表于: 2013-10-27
您好,我在win下编译时候出国这个问题,从网上找了个dbus的lib库放进去就可以了!
菜鸟大仙
快速回复
限100 字节
 
上一个 下一个