Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Solved Problems with libqxcb

    Installation and Deployment
    2
    3
    142
    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.
    • F
      FrancisK last edited by

      I have been having some problems with libqxcb.so

      If I run "ldd" on "/opt/Qt5/plugins/platforms/libqxcb.so", "libQt5XcbQpa.so.5" is reported as not being found.

      Even though "libQt5XcbQpa.so.5" can be found in "/opt/Qt5/lib/libQt5XcbQpa.so.5"

      ldd /opt/Qt5/lib/libQt5XcbQpa.so.5
      libQt5Gui.so.5 => not found
      libQt5DBus.so.5 => not found
      libQt5Core.so.5 => not found

      ldd /opt/Qt5/lib/libQt5DBus.so.5
      libQt5Core.so.5 => not found

      ldd /opt/Qt5/lib/libQt5Gui.so.5
      libQt5Core.so.5 => not found

      ldd /opt/Qt5/lib/libQt5Core.so.5
      [nothing is missing]

      ldd /opt/Qt5/lib/libQt5Gui.so.5
      [nothing is missing]

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

        Hi and welcome to devnet,

        How did you install Qt ?
        Which version is it ?

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

        F 1 Reply Last reply Reply Quote 0
        • F
          FrancisK @SGaist last edited by

          I'm using Qt5.15.2, compiled from source. I eventually figured out the problem. It just needed export paths for "LD_LIBRARY_PATH" and "QT_PLUGIN_PATH", then it worked Ok.

          export LD_LIBRARY_PATH=/opt/Qt5/lib
          export QT_PLUGIN_PATH=/opt/Qt5/plugins

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