Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Why no valid kit in Qt Creator



  • Qt Creator claims there is no valid kit. In the maintenance tool, I can see that all the installed elements (Qt version, compiler, ...) are found but there is exclamation mark in front of the Qt Version. Here are the related details of the installed version :

    Name: Qt 5.9.5 in PATH (qt5)
    ABI: x86-linux-generic-elf-32bit
    Source: /usr
    mkspec: linux-g++
    qmake: /usr/lib/qt5/bin/qmake
    Version: 5.9.5
    QMAKE_SPEC linux-g++
    QMAKE_VERSION 3.1
    QMAKE_XSPEC linux-g++
    QT_HOST_BINS /usr/lib/qt5/bin
    QT_HOST_DATA /usr/lib/i386-linux-gnu/qt5
    QT_HOST_LIBS /usr/lib/i386-linux-gnu
    QT_HOST_PREFIX /usr
    QT_INSTALL_ARCHDATA /usr/lib/i386-linux-gnu/qt5
    QT_INSTALL_BINS /usr/lib/qt5/bin
    QT_INSTALL_CONFIGURATION /etc/xdg
    QT_INSTALL_DATA /usr/share/qt5
    QT_INSTALL_DEMOS /usr/lib/i386-linux-gnu/qt5/examples
    QT_INSTALL_DOCS /usr/share/qt5/doc
    QT_INSTALL_EXAMPLES /usr/lib/i386-linux-gnu/qt5/examples
    QT_INSTALL_HEADERS /usr/include/i386-linux-gnu/qt5
    QT_INSTALL_IMPORTS /usr/lib/i386-linux-gnu/qt5/imports
    QT_INSTALL_LIBEXECS /usr/lib/i386-linux-gnu/qt5/libexec
    QT_INSTALL_LIBS /usr/lib/i386-linux-gnu
    QT_INSTALL_PLUGINS /usr/lib/i386-linux-gnu/qt5/plugins
    QT_INSTALL_PREFIX /usr
    QT_INSTALL_QML /usr/lib/i386-linux-gnu/qt5/qml
    QT_INSTALL_TESTS /usr/tests
    QT_INSTALL_TRANSLATIONS /usr/share/qt5/translations
    QT_SYSROOT
    QT_VERSION 5.9.5

    Linux distribution: Ubuntu 18.04

    Packages that have been installed for the Qt : build-essential, qt5-default qtcreator

    What can I do to solve this ?
    Many thanks. Regards


  • Lifetime Qt Champion

    Hi @gav007,

    which tooltip do you get if you hover the mouse over the exclamation mark?



  • Hi @aha_1980 ,

    I tried this. There is no tooltip while hovering the mark !

    Regards



  • I found a workaround : since the auto-detection does not work, the Qt version field was not filled in the Desktop kit. I forced it to the existing Qt version and this kit is now operational and can be selected.

    This does not solve the auto-detection issue ...

    Thanks and regards



  • @gav007 said in Why no valid kit in Qt Creator:

    This does not solve the auto-detection issue ...

    What it be worth to report a bug?


Log in to reply