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. Installing latest Qt creator on Ubuntu 16.04
Forum Updated to NodeBB v4.3 + New Features

Installing latest Qt creator on Ubuntu 16.04

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
ubuntu 16.04qt creator
6 Posts 3 Posters 1.4k Views 2 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.
  • K Offline
    K Offline
    koahnig
    wrote on last edited by koahnig
    #1

    I have installed Qt creator through online installer on updated Ubuntu 16.04.
    Unfortunately Qt creator does not start and response with:

    Unbenannt.PNG

    Probably there is already an incompatibility with the different drivers.

    Anyone aware how to circumvent the issue?

    Certainly an older Qt creator version will help. Which is the latest version supporting Ubuntu 16.04?

    Actually I have to compile for Ubuntu 16.04 and hope to use Qt libs version Qt 5.15.2. The application does not require gui output. Simple console and file output is enough. The main thing requried are the Tcp socket stuff and regular expressions I would assume at the moment.

    Do I have a chance there?

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Start Qt Creator with the QT_DEBUG_PLUGINS environment variable set to 1 to see why the plugins does not load.

      You are likely missing a system library that is now used by Qt rather than in tree provided.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        Here is the output

        inposition@inposition-VirtualBox:~/Qt/Tools/QtCreator/bin$ ./qtcreator
        QFactoryLoader::QFactoryLoader() checking directory path "/home/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ...
        QFactoryLoader::QFactoryLoader() looking at "/home/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so"
        Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so"
        Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so"
        Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so"
        Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so"
        Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so"
        Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so"
        Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/bin/platforms" ...
        Cannot load library /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/inposition/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)
        
        

        Still no clue how to continue

        Vote the answer(s) that helped you to solve your issue(s)

        JonBJ 1 Reply Last reply
        0
        • K koahnig

          Here is the output

          inposition@inposition-VirtualBox:~/Qt/Tools/QtCreator/bin$ ./qtcreator
          QFactoryLoader::QFactoryLoader() checking directory path "/home/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms" ...
          QFactoryLoader::QFactoryLoader() looking at "/home/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqeglfs.so"
          Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqlinuxfb.so"
          Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimal.so"
          Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqminimalegl.so"
          Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqoffscreen.so"
          Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqvnc.so"
          Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so"
          Found metadata in lib /home/inposition/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/inposition/Qt/Tools/QtCreator/bin/platforms" ...
          Cannot load library /home/inposition/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/inposition/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/inposition/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)
          
          

          Still no clue how to continue

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by JonB
          #4

          @koahnig said in Installing latest Qt creator on Ubuntu 16.04:

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

          It is telling you you need to install libxcb-xinerama.so.0. This has been asked many times in this forum, I would search this forum for xinerama if you want instructions on what to apt-get as there might be other libraries mentioned as needed in the posts (here's one: https://forum.qt.io/topic/116299/qt-creator-ubuntu-20-04/19) .

          K 1 Reply Last reply
          1
          • JonBJ JonB

            @koahnig said in Installing latest Qt creator on Ubuntu 16.04:

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

            It is telling you you need to install libxcb-xinerama.so.0. This has been asked many times in this forum, I would search this forum for xinerama if you want instructions on what to apt-get as there might be other libraries mentioned as needed in the posts (here's one: https://forum.qt.io/topic/116299/qt-creator-ubuntu-20-04/19) .

            K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            @JonB
            Great!!
            Thanks a lot.
            Just copied and pasted the apt-get command.

            Screenshot from 2021-07-13 20-34-46.png

            This pops up, but Qt creator is starting.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on last edited by
              #6

              Qt creator seems to work. Therefore I am not worrying about the statistic plugin message.

              Vote the answer(s) that helped you to solve your issue(s)

              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