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. QtCreator 4.9.1 online installer errors out when launching QtCreator
Forum Updated to NodeBB v4.3 + New Features

QtCreator 4.9.1 online installer errors out when launching QtCreator

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
16 Posts 4 Posters 1.4k Views 3 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.
  • jsulmJ jsulm

    @gusain I see three possibilities:

    1. Use QtCreator provided by your distribution (will be quite old)
    2. Try to install an older QtCreator version
    3. Build QtCreator by yourself
    G Offline
    G Offline
    gusain
    wrote on last edited by
    #5

    @jsulm I want to build QtCreator myself but I only see online installer in Downloads section. Am I missing something ? How do I get src tar-kit for QtCreator which I can use to build QtCreator manually ?

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

      Hi,

      You can find them all there: https://download.qt.io/official_releases/qtcreator/

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

      G 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        You can find them all there: https://download.qt.io/official_releases/qtcreator/

        G Offline
        G Offline
        gusain
        wrote on last edited by
        #7

        @SGaist Thanks !! Let me see if I can fix dependencies and make it work.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gusain
          wrote on last edited by
          #8

          I get this error now when trying to build QtCreator, anyone knows what's going wrong?

          qbsproject.cpp: In member function 'bool QbsProjectManager::Internal::QbsProject::addFilesToProduct(const QStringList&, qbs::ProductData, qbs::GroupData, QStringList*)':
          qbsproject.cpp:278:43: error: 'class qbs::Project' has no member named 'addFiles'
          qbs::ErrorInfo err = m_qbsProject.addFiles(productData, groupData, QStringList() << path);
          ^~~~~~~~
          qbsproject.cpp: In member function 'bool QbsProjectManager::Internal::QbsProject::removeFilesFromProduct(const QStringList&, qbs::ProductData, qbs::GroupData, QStringList*)':
          qbsproject.cpp:305:32: error: 'class qbs::Project' has no member named 'removeFiles'
          = m_qbsProject.removeFiles(productData, groupData, QStringList() << path);
          ^~~~~~~~~~~

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

            What version are you trying to build ?

            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
            0
            • G gusain

              I get this error now when trying to build QtCreator, anyone knows what's going wrong?

              qbsproject.cpp: In member function 'bool QbsProjectManager::Internal::QbsProject::addFilesToProduct(const QStringList&, qbs::ProductData, qbs::GroupData, QStringList*)':
              qbsproject.cpp:278:43: error: 'class qbs::Project' has no member named 'addFiles'
              qbs::ErrorInfo err = m_qbsProject.addFiles(productData, groupData, QStringList() << path);
              ^~~~~~~~
              qbsproject.cpp: In member function 'bool QbsProjectManager::Internal::QbsProject::removeFilesFromProduct(const QStringList&, qbs::ProductData, qbs::GroupData, QStringList*)':
              qbsproject.cpp:305:32: error: 'class qbs::Project' has no member named 'removeFiles'
              = m_qbsProject.removeFiles(productData, groupData, QStringList() << path);
              ^~~~~~~~~~~

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #10

              Hi
              Seems like this
              https://bugreports.qt.io/browse/QTCREATORBUG-20360
              So fix might be to install qbs and set QBS_INSTALL_DIR.

              1 Reply Last reply
              1
              • G Offline
                G Offline
                gusain
                wrote on last edited by
                #11

                Restarting build from clean src fixed this issue but QtCreator doesn't work.

                qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
                This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                Available platform plugins are: linuxfb, minimal, offscreen, vnc, webgl.

                Abort

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

                  Are you starting Qt Creator from the command line ?
                  With what version of Qt did you build it ?
                  Start it with the QT_DEBUG_PLUGINS environment variable set to 1. It should give you more information about what is happening.

                  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
                  • G Offline
                    G Offline
                    gusain
                    wrote on last edited by
                    #13

                    @SGaist Yes, I started it from command line. Here is what I get when I set

                    QT_DEBUG_PLUGINS to 1

                    QFactoryLoader::QFactoryLoader() checking directory path "/export/dev6/rajpal/Qt-5.12.3/plugins/platforms" ...
                    QFactoryLoader::QFactoryLoader() looking at "/export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqlinuxfb.so"
                    Found metadata in lib /export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqlinuxfb.so, metadata=
                    {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                    "Keys": [
                    "linuxfb"
                    ]
                    },
                    "archreq": 0,
                    "className": "QLinuxFbIntegrationPlugin",
                    "debug": false,
                    "version": 330752
                    }

                    Got keys from plugin meta data ("linuxfb")
                    QFactoryLoader::QFactoryLoader() looking at "/export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqminimal.so"
                    Found metadata in lib /export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqminimal.so, metadata=
                    {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                    "Keys": [
                    "minimal"
                    ]
                    },
                    "archreq": 0,
                    "className": "QMinimalIntegrationPlugin",
                    "debug": false,
                    "version": 330752
                    }

                    Got keys from plugin meta data ("minimal")
                    QFactoryLoader::QFactoryLoader() looking at "/export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqoffscreen.so"
                    Found metadata in lib /export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqoffscreen.so, metadata=
                    {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                    "Keys": [
                    "offscreen"
                    ]
                    },
                    "archreq": 0,
                    "className": "QOffscreenIntegrationPlugin",
                    "debug": false,
                    "version": 330752
                    }

                    Got keys from plugin meta data ("offscreen")
                    QFactoryLoader::QFactoryLoader() looking at "/export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqvnc.so"
                    Found metadata in lib /export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqvnc.so, metadata=
                    {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                    "Keys": [
                    "vnc"
                    ]
                    },
                    "archreq": 0,
                    "className": "QVncIntegrationPlugin",
                    "debug": false,
                    "version": 330752
                    }

                    Got keys from plugin meta data ("vnc")
                    QFactoryLoader::QFactoryLoader() looking at "/export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqwebgl.so"
                    Found metadata in lib /export/dev6/rajpal/Qt-5.12.3/plugins/platforms/libqwebgl.so, metadata=
                    {
                    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                    "MetaData": {
                    "Keys": [
                    "webgl"
                    ]
                    },
                    "archreq": 0,
                    "className": "QWebGLIntegrationPlugin",
                    "debug": false,
                    "version": 330752
                    }

                    Got keys from plugin meta data ("webgl")
                    QFactoryLoader::QFactoryLoader() checking directory path "/export/dev6/rajpal/qtcreator/bin/platforms" ...
                    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
                    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                    Available platform plugins are: linuxfb, minimal, offscreen, vnc, webgl.

                    Abort

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

                      Did you build that version of Qt yourself ?

                      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
                      • G Offline
                        G Offline
                        gusain
                        wrote on last edited by
                        #15

                        @SGaist Yes, I built Qt 5.12 myself.

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

                          Then you didn't build the XCB backend. This usually mean that you were missing dependencies at configuration time.

                          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

                          • Login

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