Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Solved Installing latest Qt creator on Ubuntu 16.04

    Tools
    ubuntu 16.04 qt creator
    3
    6
    369
    Loading More Posts
    • 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
      koahnig last edited by koahnig

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 1
        • K
          koahnig last edited by

          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)

          JonB 1 Reply Last reply Reply Quote 0
          • JonB
            JonB @koahnig last edited by 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 1 Reply Last reply Reply Quote 1
            • K
              koahnig @JonB last edited by

              @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 Reply Quote 0
              • K
                koahnig last edited by

                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 Reply Quote 0
                • First post
                  Last post