qtqt-creatorfedora-25

Qt Creator on Fedora 25: "No valid kits found"


If I try to open an existing project in Qt Creator I always get "No valid kits found".

I found a lot of Q&A around this, but on my installation I am not able to select a valid Qt version because:

In Build&Run->Kids->Desktop->QtVersion: None

I can not see any other entry in this field.

As already mentioned: It is a Fedora 25 x86_64 version.

Qt Creator gives in comand line:

Warning: No kit 'qt.57.gcc_64_kit' found. Continuing.

Is this a file which should exist somewhere? Can it be downloaded somewhere? Manual config seems to be not possible, because qt version can not be selected.

Is there any package which I did not have installed? Is there any meta package which I can use to get a valid installation?

What I have installed:

rpm -qa | grep qt5

    dbusmenu-qt5-0.9.3-0.11.20150604.fc24.x86_64
    qt5-qtbase-gui-5.7.0-3.fc25.x86_64
    qt5-qtwebchannel-5.7.0-2.fc25.x86_64
    qt5-qttools-static-5.7.0-3.fc25.x86_64
    qt5-qtconfiguration-devel-0.3.1-2.fc24.x86_64
    adwaita-qt5-0.4-3.fc25.x86_64
    qt5-qtsvg-devel-5.7.0-2.fc25.x86_64
    qt5-qtbase-common-5.7.0-3.fc25.noarch
    qt5-qtlocation-devel-5.7.0-2.fc25.x86_64
    qt5-qttools-libs-designer-5.7.0-3.fc25.x86_64
    qt5-qtx11extras-devel-5.7.0-2.fc25.x86_64
    qt5-qtserialport-5.7.0-2.fc25.x86_64
    qt5-qttools-devel-5.7.0-3.fc25.x86_64
    qt5-qtconfiguration-0.3.1-2.fc24.x86_64
    qt5-qtwayland-devel-5.7.0-2.fc25.x86_64
    qt5-qttools-libs-clucene-5.7.0-3.fc25.x86_64
    qt5-qtlocation-5.7.0-2.fc25.x86_64
    quazip-qt5-0.7.2-1.fc25.x86_64
    qt5-qttools-libs-designercomponents-5.7.0-3.fc25.x86_64
    qt5-qttools-5.7.0-3.fc25.x86_64
    qt5-qtenginio-devel-1.6.1-2.fc25.x86_64
    qt5-linguist-5.7.0-3.fc25.x86_64
    qt5-qtwebsockets-devel-5.7.0-1.fc25.x86_64
    qt5-qtconnectivity-devel-5.7.0-2.fc25.x86_64
    qt5-qtsvg-5.7.0-2.fc25.x86_64
    qt5-qtquickcontrols-5.7.0-1.fc25.x86_64
    qt5-qtwayland-5.7.0-2.fc25.x86_64
    qt5-devel-5.7.0-9.fc25.noarch
    qt5-qtxmlpatterns-5.7.0-2.fc25.x86_64
    qt5-qtwebkit-5.7.0-2.fc25.x86_64
    qt5-qtserialport-devel-5.7.0-2.fc25.x86_64
    qt5-qtaccountsservice-devel-0.6.0-2.fc24.x86_64
    qt5-qttools-libs-help-5.7.0-3.fc25.x86_64
    qt5-qtmultimedia-5.7.0-2.fc25.x86_64
    qt5-qtimageformats-5.7.0-2.fc25.x86_64
    qt5-qtsensors-5.7.0-2.fc25.x86_64
    qt5-qtdoc-5.7.0-1.fc25.noarch
    qt5-designer-5.7.0-3.fc25.x86_64
    qt5-qtbase-static-5.7.0-3.fc25.x86_64
    qt5-qtenginio-1.6.1-2.fc25.x86_64
    qt5-qt3d-5.7.0-2.fc25.x86_64
    qt5-qtbase-5.7.0-3.fc25.x86_64
    qt5-qtdeclarative-devel-5.7.0-2.fc25.x86_64
    qt5-rpm-macros-5.7.0-9.fc25.noarch
    qt5-qhelpgenerator-5.7.0-3.fc25.x86_64
    qt5-qtwebsockets-5.7.0-1.fc25.x86_64
    qt5-qtconnectivity-5.7.0-2.fc25.x86_64
    phonon-qt5-4.9.0-3.fc25.x86_64
    qt5-qtscript-5.7.0-2.fc25.x86_64
    qt5-qtwebchannel-devel-5.7.0-2.fc25.x86_64
    qt5-gstreamer-devel-1.2.0-11.fc25.x86_64
    qt5-qtaccountsservice-0.6.0-2.fc24.x86_64
    phonon-qt5-backend-gstreamer-4.9.0-1.fc25.x86_64
    qt5-qtscript-devel-5.7.0-2.fc25.x86_64
    qt5-qtbase-devel-5.7.0-3.fc25.x86_64
    qt5-qtx11extras-5.7.0-2.fc25.x86_64
    polkit-qt5-1-0.112.0-8.fc25.x86_64
    qt5-qdoc-5.7.0-3.fc25.x86_64
    qt5-qtdeclarative-static-5.7.0-2.fc25.x86_64
    qt5-qtwebkit-devel-5.7.0-2.fc25.x86_64
    qt5-gstreamer-1.2.0-11.fc25.x86_64
    qt5-qtdeclarative-5.7.0-2.fc25.x86_64
    qt5-qtsensors-devel-5.7.0-2.fc25.x86_64
    qt5-qttools-common-5.7.0-3.fc25.noarch
    qt5-qtmultimedia-devel-5.7.0-2.fc25.x86_64
    qt5-qtxmlpatterns-devel-5.7.0-2.fc25.x86_64
    qt5-qt3d-devel-5.7.0-2.fc25.x86_64

Solution

  • I got it:

    qtcreator was not able to find my qmake installation, because in the fedora packages qmake is:

    -rwxr-xr-x. 2 root root 2921520 19. Jul 14:51 /usr/bin/qmake-qt5

    Adding a softlink to

    lrwxrwxrwx. 1 root root 18 5. Dez 17:17 /usr/bin/qmake -> /usr/bin/qmake-qt5

    did NOT help!

    You have to point to the correct qmake via :

    Build&Run -> Kits -> Manual -> Desktop -> Qt-Version -> Manage -> "Select qmake with file-browser"

    Now it seems to find a qt version. In "Details" the dialog prints "Qt version 5.7.0 for Desktop"

    Why there is not a simple output: "Can not find qmake"?

    OK, seems to be a bit special to fedora which install qmake to different file name.