Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Problems linking DBus on Trusty starting with Qt 5.11

    Installation and Deployment
    2
    4
    1942
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Garagorn last edited by

      Starting with Qt 5.11 (both .0 and .1), projects using DBus are failing to link on some older build platforms, including Ubuntu Trusty (14.x).

      Note: Using pre-built Qt linux x64 binaries installed via the online installer.

      Happens with our project, also with Qt samples using DBus when try to build them in Qt Creator. Get a bunch of linker errors.

      5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_message_copy@LIBDBUS_1_3' 5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_bus_register@LIBDBUS_1_3'
      5.11.1/gcc_64/lib/libQt5WebEngineCore.so.5.11.1: undefined reference to dbus_watch_get_data@LIBDBUS_1_3' 5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_server_set_timeout_functions@LIBDBUS_1_3'
      5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_connection_close@LIBDBUS_1_3' 5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_message_get_signature@LIBDBUS_1_3'
      5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_message_new_signal@LIBDBUS_1_3' 5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_message_iter_append_fixed_array@LIBDBUS_1_3'
      5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_message_set_sender@LIBDBUS_1_3' 5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to dbus_message_get_type@LIBDBUS_1_3'
      5.11.1/gcc_64/lib/libQt5DBus.so.5.11.1: undefined reference to `dbus_message_new_method_call@LIBDBUS_1_3'

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        What version of DBus do you have installed on your system ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • G
          Garagorn last edited by

          Discussing in a Qt bug: https://bugreports.qt.io/browse/QTBUG-69100

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Thanks for the link.

            So as I suspected, you are using too old of a version of that library.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 1
            • First post
              Last post