Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problems linking DBus on Trusty starting with Qt 5.11
Forum Updated to NodeBB v4.3 + New Features

Problems linking DBus on Trusty starting with Qt 5.11

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 2.2k Views 1 Watching
  • 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 Offline
    G Offline
    Garagorn
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • G Offline
        G Offline
        Garagorn
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved