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. no libxcb.so qt plugin in /platforms directory
Forum Updated to NodeBB v4.3 + New Features

no libxcb.so qt plugin in /platforms directory

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 1.1k 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.
  • Z Offline
    Z Offline
    Zola
    wrote on last edited by Zola
    #1

    I am not sure what I have missed when xcb qt plugin is not in platforms directory and I'm getting error when trying to deploy my app to BeagleBone:

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

    Available platform plugins are: linuxfb, minimal, offscreen.

    Reinstalling the application may fix this problem.

    I found that plugin file at /usr/lib/arm-linux-gnueabihf/libxcb.so

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

      Hi,

      That's not the plugin you have there, that the xcb library. Did you cross-compile Qt with X11 enabled ?

      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
      • Z Zola

        I am not sure what I have missed when xcb qt plugin is not in platforms directory and I'm getting error when trying to deploy my app to BeagleBone:

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

        Available platform plugins are: linuxfb, minimal, offscreen.

        Reinstalling the application may fix this problem.

        I found that plugin file at /usr/lib/arm-linux-gnueabihf/libxcb.so

        L Offline
        L Offline
        lanka
        wrote on last edited by
        #3

        @Zola Hi,
        The libqxcb.so file that reside inside platforms folder (in your application package, and I'm assuming you are dynamically linking with qt ) needs additional dependencies. You can find all dependencies by calling ldd for libqxcb.so, but we need to copy files reside only in Qt directory. Find it in Qt libs directory ( in my case it was libQt5DBus.so.5). Change name (*.so.5.4.1 to *.so.5) and copy it to executable directory.

        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