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. Why ldd not shows libqxcb.so is required
Qt 6.11 is out! See what's new in the release blog

Why ldd not shows libqxcb.so is required

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.7k Views 2 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.
  • C Offline
    C Offline
    column
    wrote on last edited by
    #1

    Hello,

    Trying to move simple widget based GUI application to system that not contains QT.

    I have copied files with executable:

    libicudata.so.54
    libicui18n.so.54
    libicuuc.so.54
    libQt5Core.so.5
    libQt5Gui.so.5
    libQt5Widgets.so.5
    

    Got error while application run:

    This application failed to start because it could not find or load the Qt platform plugin "xcb".
    

    According to information in forum I need library libqxcb.so. But why ldd command not shows I require it?
    Where libqxcb.so should be placed?

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

      Hi,

      It's explained in the Linux deployment guide.

      As an alternative you should consider using the linuxdeployqt project.

      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
      • C column

        Hello,

        Trying to move simple widget based GUI application to system that not contains QT.

        I have copied files with executable:

        libicudata.so.54
        libicui18n.so.54
        libicuuc.so.54
        libQt5Core.so.5
        libQt5Gui.so.5
        libQt5Widgets.so.5
        

        Got error while application run:

        This application failed to start because it could not find or load the Qt platform plugin "xcb".
        

        According to information in forum I need library libqxcb.so. But why ldd command not shows I require it?
        Where libqxcb.so should be placed?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @column said in Why ldd not shows libqxcb.so is required:

        But why ldd command not shows I require it?

        Because libqxcb.so is a plugin that is loaded after your executable starts running.

        ldd only shows libraries that are loaded before your executable starts running.

        Where libqxcb.so should be placed?

        See @SGaist's links, or my answer at https://forum.qt.io/post/446700

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        2

        • Login

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