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. load plugin Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so
QtWS25 Last Chance

load plugin Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 509 Views
  • 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.
  • G Offline
    G Offline
    grafenocarbono
    wrote on 24 Dec 2023, 09:24 last edited by
    #1

    Hello,

    when I run ./qtcreator (before I use export QT_DEBUG_PLUGINS=1). I get the next message:

    qt.core.library: "/home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" cannot load: Cannot load library /home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)
    qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)"
    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Available platform plugins are: wayland-egl, xcb, eglfs, linuxfb, offscreen, minimalegl, wayland, minimal, vnc, vkkhrdisplay.
    
    Aborted (core dumped)
    grafeno30@linuxLaptop:~/Qt/Tools/QtCreator/bin$ ldd /usr/lib/qt/plugins/platforms/libqxcb.so
    ldd: /usr/lib/qt/plugins/platforms/libqxcb.so: No such file or directory
    
    

    I cannot run QtCreator.

    Thanks in advance.

    J 1 Reply Last reply 24 Dec 2023, 09:35
    0
    • G grafenocarbono
      24 Dec 2023, 09:24

      Hello,

      when I run ./qtcreator (before I use export QT_DEBUG_PLUGINS=1). I get the next message:

      qt.core.library: "/home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" cannot load: Cannot load library /home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)
      qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "/home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)"
      qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
      
      Available platform plugins are: wayland-egl, xcb, eglfs, linuxfb, offscreen, minimalegl, wayland, minimal, vnc, vkkhrdisplay.
      
      Aborted (core dumped)
      grafeno30@linuxLaptop:~/Qt/Tools/QtCreator/bin$ ldd /usr/lib/qt/plugins/platforms/libqxcb.so
      ldd: /usr/lib/qt/plugins/platforms/libqxcb.so: No such file or directory
      
      

      I cannot run QtCreator.

      Thanks in advance.

      J Offline
      J Offline
      JonB
      wrote on 24 Dec 2023, 09:35 last edited by JonB
      #2

      @grafenocarbono said in load plugin Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so:

      qt.core.library: "/home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" cannot load: Cannot load library /home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)

      And, does libqxcb.so exist there? Or for that matter elsewhere? Have you done a system install like

      # at least one of these
      sudo apt-get install libxcb-cursor-dev
      sudo apt-get install libxcb-cursor
      
      A 1 Reply Last reply 24 Dec 2023, 11:24
      1
      • J JonB
        24 Dec 2023, 09:35

        @grafenocarbono said in load plugin Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so:

        qt.core.library: "/home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" cannot load: Cannot load library /home/grafeno30/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)

        And, does libqxcb.so exist there? Or for that matter elsewhere? Have you done a system install like

        # at least one of these
        sudo apt-get install libxcb-cursor-dev
        sudo apt-get install libxcb-cursor
        
        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 24 Dec 2023, 11:24 last edited by aha_1980
        #3

        @JonB @grafenocarbono

        For me it was: sudo apt install libxcb-cursor0 (with trailing zero)

        The -dev is not needed for running Creator.

        Qt has to stay free or it will die.

        1 Reply Last reply
        1

        3/3

        24 Dec 2023, 11:24

        • Login

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