Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator upgrade breaks QtCreator
QtWS25 Last Chance

QtCreator upgrade breaks QtCreator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 388 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.
  • P Offline
    P Offline
    Poldi
    wrote on last edited by
    #1

    When using QtCreator I was prompted that upgrades were available (see screenshot)BeforeUpdate.png

    After I completed the upgrade, QtCreator cannot be started as I get the following errors:

    poldi@poldi-VirtualBox:~$ Qt/Tools/QtCreator/bin/qtcreator
    Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    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: offscreen, wayland-egl, vkkhrdisplay, minimal, eglfs, minimalegl, vnc, xcb, wayland, linuxfb.
    
    Aborted (core dumped)
    
    
    jsulmJ 1 Reply Last reply
    0
    • P Poldi

      When using QtCreator I was prompted that upgrades were available (see screenshot)BeforeUpdate.png

      After I completed the upgrade, QtCreator cannot be started as I get the following errors:

      poldi@poldi-VirtualBox:~$ Qt/Tools/QtCreator/bin/qtcreator
      Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
      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: offscreen, wayland-egl, vkkhrdisplay, minimal, eglfs, minimalegl, vnc, xcb, wayland, linuxfb.
      
      Aborted (core dumped)
      
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Poldi Try

      export QT_QPA_PLATFORM=wayland
      Qt/Tools/QtCreator/bin/qtcreator
      

      Does it work then? It tries to use X11 but I think on Ubuntu Wayland is used by default (you can switch to X11 on the login screen).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      cristian-adamC 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Poldi Try

        export QT_QPA_PLATFORM=wayland
        Qt/Tools/QtCreator/bin/qtcreator
        

        Does it work then? It tries to use X11 but I think on Ubuntu Wayland is used by default (you can switch to X11 on the login screen).

        cristian-adamC Offline
        cristian-adamC Offline
        cristian-adam
        wrote on last edited by
        #3

        In the comments at https://www.qt.io/blog/qt-creator-12-released we can see the following bits:

        On my Linux Mint 21.2, Qt Creator did not start after update. Ran ldd lib/Qt/plugins/platforms/libqxcb.so which showed libxcb-cursor.so.0 => not found. Seems there is some new dependency here? So installed it with:

        sudo apt install libxcb-cursor0

        Then Qt Creator finally started.

        See https://bugreports.qt.io/browse/QTBUG-108796 for the details.

        It's unfortunate, but apparently it's by design. Windows at least would pop up a Message Box complaining about the missing dll. Linux doesn't do that with missing so files.

        cristian-adamC 1 Reply Last reply
        1
        • cristian-adamC cristian-adam

          In the comments at https://www.qt.io/blog/qt-creator-12-released we can see the following bits:

          On my Linux Mint 21.2, Qt Creator did not start after update. Ran ldd lib/Qt/plugins/platforms/libqxcb.so which showed libxcb-cursor.so.0 => not found. Seems there is some new dependency here? So installed it with:

          sudo apt install libxcb-cursor0

          Then Qt Creator finally started.

          See https://bugreports.qt.io/browse/QTBUG-108796 for the details.

          It's unfortunate, but apparently it's by design. Windows at least would pop up a Message Box complaining about the missing dll. Linux doesn't do that with missing so files.

          cristian-adamC Offline
          cristian-adamC Offline
          cristian-adam
          wrote on last edited by
          #4

          I've created https://bugreports.qt.io/browse/QTCREATORBUG-30004 to track this issue.

          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