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. Qt Creator 4.14.2 completely unusable (Debian)?
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 4.14.2 completely unusable (Debian)?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 415 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.
  • DiracsbracketD Offline
    DiracsbracketD Offline
    Diracsbracket
    wrote on last edited by Diracsbracket
    #1

    Hi.
    I just started from a clean Debian 10.8 installation (also tried with clean 10.4) (Gnome) and installed Qt 5.15.2 using the current online installer to ~/Qt as usual.
    Installation is on a VMWare Player 16 virtual machine.

    Installation proceeds normally it seems, but:

    • Qt Creator does not launch once installation is completed, as usual and as check-box requested.
    • The launcher icon in the Applications does not work

    The application icon does not work, but launching from the command line works after setting env. variables:

    export QT_QPA_PLATFORM=wayland 
    export QT_PLUGIN_PATH=/home/dirac/Qt/5.15.2/gcc_64/plugins
    

    However, once started, Qt Creator is essentially unusable because of display problems:

    • the display flickers all over the place when hovering over items.
    • the editor does not repaint correctly when scrolling,
    • etc..

    The following gif shows a snapshot of the problem:
    umagi3d.gif

    Anyone else experiencing these problems lately?

    jsulmJ 1 Reply Last reply
    0
    • DiracsbracketD Diracsbracket

      Hi.
      I just started from a clean Debian 10.8 installation (also tried with clean 10.4) (Gnome) and installed Qt 5.15.2 using the current online installer to ~/Qt as usual.
      Installation is on a VMWare Player 16 virtual machine.

      Installation proceeds normally it seems, but:

      • Qt Creator does not launch once installation is completed, as usual and as check-box requested.
      • The launcher icon in the Applications does not work

      The application icon does not work, but launching from the command line works after setting env. variables:

      export QT_QPA_PLATFORM=wayland 
      export QT_PLUGIN_PATH=/home/dirac/Qt/5.15.2/gcc_64/plugins
      

      However, once started, Qt Creator is essentially unusable because of display problems:

      • the display flickers all over the place when hovering over items.
      • the editor does not repaint correctly when scrolling,
      • etc..

      The following gif shows a snapshot of the problem:
      umagi3d.gif

      Anyone else experiencing these problems lately?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Diracsbracket Don't set those variables but QT_DEBUG_PLUGINS (https://doc.qt.io/qt-5/debug.html) then start QtCreator and post the output from terminal here.

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

      DiracsbracketD 1 Reply Last reply
      2
      • jsulmJ jsulm

        @Diracsbracket Don't set those variables but QT_DEBUG_PLUGINS (https://doc.qt.io/qt-5/debug.html) then start QtCreator and post the output from terminal here.

        DiracsbracketD Offline
        DiracsbracketD Offline
        Diracsbracket
        wrote on last edited by Diracsbracket
        #3

        @jsulm

        dirac@busterPC:~/Qt/Tools/QtCreator/bin$ QT_DEBUG_PLUGINS=1 ./qtcreator
        Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
        QFactoryLoader::QFactoryLoader() checking directory path "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ...
        QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so"
        Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "eglfs"
                ]
            },
            "archreq": 0,
            "className": "QEglFSIntegrationPlugin",
            "debug": false,
            "version": 331520
        }
        
        
        Got keys from plugin meta data ("eglfs")
        QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so"
        Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "linuxfb"
                ]
            },
            "archreq": 0,
            "className": "QLinuxFbIntegrationPlugin",
            "debug": false,
            "version": 331520
        }
        
        
        Got keys from plugin meta data ("linuxfb")
        QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so"
        Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "minimal"
                ]
            },
            "archreq": 0,
            "className": "QMinimalIntegrationPlugin",
            "debug": false,
            "version": 331520
        }
        
        
        Got keys from plugin meta data ("minimal")
        QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so"
        Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "minimalegl"
                ]
            },
            "archreq": 0,
            "className": "QMinimalEglIntegrationPlugin",
            "debug": false,
            "version": 331520
        }
        
        
        Got keys from plugin meta data ("minimalegl")
        QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so"
        Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "offscreen"
                ]
            },
            "archreq": 0,
            "className": "QOffscreenIntegrationPlugin",
            "debug": false,
            "version": 331520
        }
        
        
        Got keys from plugin meta data ("offscreen")
        QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so"
        Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "vnc"
                ]
            },
            "archreq": 0,
            "className": "QVncIntegrationPlugin",
            "debug": false,
            "version": 331520
        }
        
        
        Got keys from plugin meta data ("vnc")
        QFactoryLoader::QFactoryLoader() looking at "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so"
        Found metadata in lib /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "xcb"
                ]
            },
            "archreq": 0,
            "className": "QXcbIntegrationPlugin",
            "debug": false,
            "version": 331520
        }
        
        
        Got keys from plugin meta data ("xcb")
        QFactoryLoader::QFactoryLoader() checking directory path "/home/dirac/Qt/Tools/QtCreator/bin/platforms" ...
        Cannot load library /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)
        QLibraryPrivate::loadPlugin failed on "/home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/dirac/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: 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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
        
        Aborted
        dirac@busterPC:~/Qt/Tools/QtCreator/bin$ 
        

        I tried to enable wayland because I libxcb-util.so.1 could not be found, which in turn led me to export the plugins dir.

        Then, I read https://bugreports.qt.io/browse/QTBUG-88688, which indeed reports that libxcb-util.so.1 does not exist in Debian Buster. So, I created a symlink from libxcb-util.so.0 to it, which seems to have solved the problem.

        Thanks!

        1 Reply Last reply
        2

        • Login

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