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. Libqxcb.so not found.
Qt 6.11 is out! See what's new in the release blog

Libqxcb.so not found.

Scheduled Pinned Locked Moved Installation and Deployment
10 Posts 6 Posters 21.9k 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.
  • D Offline
    D Offline
    dasun
    wrote on last edited by
    #1

    I compiled qt myself on a remote Linux server from source. everything went fine but after I tried to run my compiled software I got following error.

    bq. 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.
    Aborted (core dumped)

    There is no libqxcb.so in plaftorm direcotory.

    bq. root@:~/........./platforms# ll
    total 8608
    drwxr-xr-x 2 root root 4096 Nov 13 02:35 ./
    drwxr-xr-x 17 root root 4096 Nov 13 03:46 ../
    -rwxr-xr-x 1 root root 4729677 Nov 13 02:35 libqlinuxfb.so*
    -rwxr-xr-x 1 root root 808791 Nov 13 02:34 libqminimal.so*
    -rwxr-xr-x 1 root root 3262399 Nov 13 02:35 libqoffscreen.so*

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Did you follow this "doc":http://qt-project.org/doc/qt-5/linux-deployment.html when you deployed your app?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dasun
        wrote on last edited by
        #3

        No, Should I? because I built my software on the same machine I compiled qt from source. I thought libqxcb.so file should be created on compilation. I'm I wrong? do I always have to install from SDK?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          libqxcb.so is a part of Qt and you need to put it into right place.
          Qt uses some predefined locations or you can modify that using "qt.conf":http://qt-project.org/doc/qt-5/qt-conf.html

          [EDIT] If you use the app on the same machine then just create qt.conf with paths pointing to Qt installation.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dasun
            wrote on last edited by
            #5

            I built qt myself, So I don't have a installation. I didn't install Libxcb on my machine prior to the build it from source. That might be the issue. I'll try to install it from SDK. Thank you!

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andreyc
              wrote on last edited by
              #6

              libxcb is a system library that is used by Qt through libqxcb.

              If you build Qt with xcb support then libqxcb should be in <install path>/plugins/platforms/libqxcb.so

              If you did not run make install and use the <build dir>/plugins/platforms/libqxcb.so

              1 Reply Last reply
              0
              • citiustechC Offline
                citiustechC Offline
                citiustech
                wrote on last edited by
                #7

                how to cross compile Qt for ARM using -qt-xcb? is there any solution?

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jnhhcl
                  wrote on last edited by
                  #8

                  Hi,dasun:
                  I have encountered the same problem. Have you resolved it? Could you teach me how to do ? Thank you very much!

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Al O
                    wrote on last edited by
                    #9

                    Same here, did a full installation from sources, and libqxcb.so is just not built.

                    Any idea ?

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

                      Hi and welcome to devnet,

                      Did you check that you have all required dependencies available ?
                      Take a look at the configure test logs to exactly what failed.

                      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