Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. X11 apps need to ship Qt5DBus shared lib as well are other Qt libs

X11 apps need to ship Qt5DBus shared lib as well are other Qt libs

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 608 Views
  • 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.
  • K Offline
    K Offline
    KeithS
    wrote on last edited by
    #1

    Recently came across an issue where an end user was getting an error:

    Cannot mix incompatible Qt library (version 0x50201) with this library (version 0x50401)

    Now I couldn't reproduce this on my Linux VM (Ubuntu 14.04 64 bit). I had shipped the required libs (as shown by running ldd on my app) so puzzled why the user was getting this error.

    Well it turns out the documentation for deploying Qt apps on X11 is missing something: it mentions e.g. in the Plug&Paint example:

    The Qt xcb platform plugin
    platforms\libqxcb.so
    The Qt Core module
    libQt5Core.so.5
    The Qt GUI module
    libQt5Gui.so.5
    The Qt Widgets module
    libQt5Widgets.so.5

    However they forget to say that libqxcb.do depends on libQt5DBus.so.5 (dbus support is on by default wnen runnining congfigure). So the user was picking up a 5.2.1 lib, hence the error. On adding libQt5DBus.so.5 to the libs I ship, the error went away.

    Hope this may be of help....

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

      Hi,

      That might be considered a documentation bug. You should have a look at the bug report system to see if it's something known. If not please consider opening a new report targeting documentation. If you want you can even submit an update to documentation yourself

      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

      • Login

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