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. Qt Creator failed to launch on Ubuntu 18
QtWS25 Last Chance

Qt Creator failed to launch on Ubuntu 18

Scheduled Pinned Locked Moved Solved Installation and Deployment
7 Posts 2 Posters 633 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.
  • U Offline
    U Offline
    Uzosky
    wrote on last edited by
    #1

    Hello,
    I have a freshly installed Qt 5.15.2 on Ubuntu 18, but when I click on the Qt Creator icon, it fails to launch without an error message. I've used previous versions before with the only issue being that I have to include a specific Linux .so file to make it work.
    Kindly help out with a solution.

    jsulmJ 1 Reply Last reply
    0
    • U Uzosky

      @jsulm said in Qt Creator failed to launch on Ubuntu 18:

      Qt/Tools/QtCreator/bin/qtcreator -noload all
      Here it is:

      Qt/Tools/QtCreator/bin/qtcreator -noload all
      QFactoryLoader::QFactoryLoader() checking directory path "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ...
      QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so"
      Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so"
      Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so"
      Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so"
      Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so"
      Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so"
      Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so"
      Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/bin/platforms" ...
      Cannot load library /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
      QLibraryPrivate::loadPlugin failed on "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
      
      Aborted (core dumped)
      
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #6

      @Uzosky said in Qt Creator failed to launch on Ubuntu 18:

      libxcb-xinerama.so

      Is missing. Install libxcb-xinerama Ubuntu package.

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

      1 Reply Last reply
      1
      • U Uzosky

        Hello,
        I have a freshly installed Qt 5.15.2 on Ubuntu 18, but when I click on the Qt Creator icon, it fails to launch without an error message. I've used previous versions before with the only issue being that I have to include a specific Linux .so file to make it work.
        Kindly help out with a solution.

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

        @Uzosky Try to start QtCreator from a terminal with "-noload all" parameter: does it start?

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

        1 Reply Last reply
        0
        • U Offline
          U Offline
          Uzosky
          wrote on last edited by
          #3

          Hi @jsulm ,
          I tried:

          Qt/Tools/QtCreator/bin/qtcreator -noload all
          

          I get:

          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 (core dumped)
          
          jsulmJ 1 Reply Last reply
          0
          • U Uzosky

            Hi @jsulm ,
            I tried:

            Qt/Tools/QtCreator/bin/qtcreator -noload all
            

            I get:

            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 (core dumped)
            
            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @Uzosky The do this:

            export QT_DEBUG_PLUGINS=1
            Qt/Tools/QtCreator/bin/qtcreator -noload all
            

            And post the output in terminal here.

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

            1 Reply Last reply
            0
            • U Offline
              U Offline
              Uzosky
              wrote on last edited by
              #5

              @jsulm said in Qt Creator failed to launch on Ubuntu 18:

              Qt/Tools/QtCreator/bin/qtcreator -noload all
              Here it is:

              Qt/Tools/QtCreator/bin/qtcreator -noload all
              QFactoryLoader::QFactoryLoader() checking directory path "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ...
              QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so"
              Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so"
              Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so"
              Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so"
              Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so"
              Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so"
              Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so"
              Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/bin/platforms" ...
              Cannot load library /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
              QLibraryPrivate::loadPlugin failed on "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
              
              Aborted (core dumped)
              
              
              jsulmJ 1 Reply Last reply
              0
              • U Uzosky

                @jsulm said in Qt Creator failed to launch on Ubuntu 18:

                Qt/Tools/QtCreator/bin/qtcreator -noload all
                Here it is:

                Qt/Tools/QtCreator/bin/qtcreator -noload all
                QFactoryLoader::QFactoryLoader() checking directory path "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ...
                QFactoryLoader::QFactoryLoader() looking at "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so"
                Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so"
                Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so"
                Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so"
                Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so"
                Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so"
                Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so"
                Found metadata in lib /home/uzisky/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/uzisky/Qt/Tools/QtCreator/bin/platforms" ...
                Cannot load library /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.so.0: cannot open shared object file: No such file or directory)
                QLibraryPrivate::loadPlugin failed on "/home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/uzisky/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxcb-xinerama.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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
                
                Aborted (core dumped)
                
                
                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @Uzosky said in Qt Creator failed to launch on Ubuntu 18:

                libxcb-xinerama.so

                Is missing. Install libxcb-xinerama Ubuntu package.

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

                1 Reply Last reply
                1
                • U Offline
                  U Offline
                  Uzosky
                  wrote on last edited by
                  #7

                  Thanks @jsulm , it's working now :-)

                  1 Reply Last reply
                  0

                  • Login

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