QtCreator 4.9.1 online installer errors out when launching QtCreator



  • I get these errors after online QtCreator 4.9.1 installer is finished. I'm new to Qt world and couldn't find any way to manually install QtCreator.

    qtcreator: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/qtcreator) /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: versionGLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/qtcreator/libExtensionSystem.so.4)
    /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/qtcreator/libAggregation.so.4) /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: versionGLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/qtcreator/libUtils.so.4)
    /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libQt5Widgets.so.5) /qtcreator-4.9.1/bin/qtcreator: /lib64/libz.so.1: versionZLIB_1.2.3.4' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libQt5Gui.so.5)
    /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libQt5Gui.so.5) /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: versionGLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libQt5Concurrent.so.5)
    /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libQt5Network.so.5) /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: versionGLIBC_2.16' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libQt5Core.so.5)
    /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: version GLIBC_2.17' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libQt5Core.so.5) /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: versionGLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libQt5Core.so.5)
    /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/qtcreator/../Qt/lib/libQt5Qml.so.5) /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: versionGLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libicui18n.so.56)
    /qtcreator-4.9.1/bin/qtcreator: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /qtcreator-4.9.1/bin/../lib/Qt/lib/libicuuc.so.56)


  • Qt Champions 2018

    @gusain It looks like you're using a quite old Linux distribution.
    What exact distribution are you using?
    What is the version of glibc on your system?



  • @jsulm Yes, you are right, I'm using very old distribution (CentOS 6.10) and I'm not authorized to upgrade. Glibc version is 2.12
    Can I manually install it so that I can configure path of dependent libraries QtCreator needs ?


  • Qt Champions 2018

    @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


  • @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 ?


  • Lifetime Qt Champion

    Hi,

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



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



  • 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);
    ^~~~~~~~~~~


  • Lifetime Qt Champion

    What version are you trying to build ?


  • Lifetime Qt Champion

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



  • 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


  • Lifetime Qt Champion

    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.



  • @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


  • Lifetime Qt Champion

    Did you build that version of Qt yourself ?



  • @SGaist Yes, I built Qt 5.12 myself.


  • Lifetime Qt Champion

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.