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. The required XCB cursor platform library was not found!
Qt 6.11 is out! See what's new in the release blog

The required XCB cursor platform library was not found!

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 4 Posters 4.8k 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.
  • M Offline
    M Offline
    MH2012
    wrote on last edited by MH2012
    #1

    Hi

    I have a annoying problem when installing Qt from the Online Installer package to a laptop.

    OS: Debian 12

    As the headline states, it is a problem with the library XCB. The installer pops up in the initial phase with the above message.

    The box provides commands to install the required librarries, which I used, but it doesn't solve the problem.

    I remember I had a similar issue on my desktop but I think I resolved it by installing XCB package.

    I hope someone in here can help me as I need it for studying reasons.

    Martin

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Use ldd to find out which library is missing and install it.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      M 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        Use ldd to find out which library is missing and install it.

        M Offline
        M Offline
        MH2012
        wrote on last edited by MH2012
        #3

        @Christian-Ehrlicher

        This is the output when running:

        ldd ./qt-online-installer-linux-x64-4.8.1.run
        
        linux-vdso.so.1 (0x00007fff3a4a1000)
        	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f6d143f9000)
        	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6d143da000)
        	libbz2.so.1 => /lib/x86_64-linux-gnu/libbz2.so.1 (0x00007f6d143c7000)
        	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6d14398000)
        	libxkbcommon-x11.so.0 => /lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007f6d1438d000)
        	libxcb-icccm.so.4 => /lib/x86_64-linux-gnu/libxcb-icccm.so.4 (0x00007f6d14384000)
        	libxcb-image.so.0 => /lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007f6d1437e000)
        	libxcb-keysyms.so.1 => /lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007f6d14000000)
        	libxcb-randr.so.0 => /lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007f6d1436d000)
        	libxcb-render-util.so.0 => /lib/x86_64-linux-gnu/libxcb-render-util.so.0 (0x00007f6d13c00000)
        	libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f6d14368000)
        	libxcb-sync.so.1 => /lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f6d1435e000)
        	libxcb-xfixes.so.0 => /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f6d14355000)
        	libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f6d14347000)
        	libxcb-shape.so.0 => /lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f6d14342000)
        	libxcb-xkb.so.1 => /lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f6d14325000)
        	libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f6d142fb000)
        	libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f6d142f4000)
        	libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6d13ebe000)
        	libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f6d1422a000)
        	libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f6d13e73000)
        	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f6d13e1d000)
        	libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f6d13bba000)
        	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f6d13afe000)
        	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6d14223000)
        	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f6d14212000)
        	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6d1420d000)
        	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6d14208000)
        	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6d13800000)
        	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6d13a1f000)
        	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6d137e0000)
        	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6d135ff000)
        	/lib64/ld-linux-x86-64.so.2 (0x00007f6d14412000)
        	libxcb-util.so.1 => /lib/x86_64-linux-gnu/libxcb-util.so.1 (0x00007f6d13e15000)
        	libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6d13e10000)
        	libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f6d13200000)
        	libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f6d135c9000)
        	libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f6d135bc000)
        	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6d13591000)
        	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f6d134c1000)
        	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f6d134ab000)
        	libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f6d13488000)
        	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f6d1347c000)
        	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f6d130b9000)
        	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6d13456000)
        	libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f6d13449000)
        	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f6d13421000)
        
        

        I don't know what exactly to look for, but based on similar topics it is the library libxcb-util.so.1 that is the issue.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MH2012
          wrote on last edited by
          #4

          Hmm I think the problem was that I didn't run the binary with sudo.

          1 Reply Last reply
          1
          • M Offline
            M Offline
            Malachi
            wrote last edited by
            #5

            I've been bonking into this error (warning?) for years. Are there no suggestions how to repair it?

            JKSHJ 1 Reply Last reply
            0
            • M Malachi

              I've been bonking into this error (warning?) for years. Are there no suggestions how to repair it?

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote last edited by
              #6

              @Malachi said in The required XCB cursor platform library was not found!:

              I've been bonking into this error (warning?) for years. Are there no suggestions how to repair it?

              Do you mean the warning about XCB cursor being not found?

              The solution is to install the missing library. On Ubuntu 22.04, you want sudo apt install libxcb-cursor0

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

              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