Having trouble building Qt with DBus support



  • I am using Qt for embedded linux 4.6.3. My linux dvsdk includes a cross compiled libdbus (version 1.3.4 i guess, file is named libdbus-1.so.3.4.0 ). So when I configure Qt I want to point it to that. But it seems no matter what I do I get the error:
    The QtDBus module cannot be enabled because libdbus-1 version 0.93 was not found.

    So I'm not sure if Qt is being strict about the libdbus version it finds or if I just didn't set the path right? I tried to point the ./configure command to the path where the libdbus is but that didn't help. this is my ./configure:

    ./configure -embedded arm -xplatform qws/linux-arm-eabi-g++ -little-endian -no-accessibility -dbus -force-pkg-config -I/export/tools/Ruby/dvsdk/linux-devkit/arm-arago-linux-gnueabi/usr/lib/ -prefix /usr -qconfig dist -v

    Thanks.


  • Lifetime Qt Champion

    Hi,

    You are using a pretty old Qt with a pretty new DBus. If you can you should update Qt to the latest version in the 4th series (currently 4.8.6) otherwise you will have to either find or cross-compile an older version of DBus


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.