Important: Please read the Qt Code of Conduct -

Centos installation: Quick Controls 2 projects in Qt Creator report "No valid kits found"

  • I'm a little stumped as to what's happening, but when I try to create a Qt Quick Controls 2 Application in Creator, it reports that there are no valid kits found.

    If I try to create, say, a Qt Quick Application, it finds the "Desktop" kit which is the one and only kit that seems to be set up, and I can create, compile and run applications. Quick Controls 2 though, I get this error. It says to add a kit in the options or use the maintenance tool (I haven't been able to find any maintenance tool) but I'm not sure what's wrong with the default "Desktop" kit that Quick Controls 2 can't utilize it.

    Qt version is 5.6.1, and I've used yum to install qt5-qtquickcontrols2, qt5-qtquickcontrols2-devel, and qt5-qtquickcontrols2-static

  • Qt Champions 2019

    @abatesnz Is this Qt 5.6.1 the one from CentOS? Or did you install it by yourself? If you installed it by yourself then qt5-qtquickcontrols2, qt5-qtquickcontrols2-devel will not help you.

  • It's the one from the CentOS installation. I installed Qt Creator separately, but Qt itself is installed from the package I got from the Centos site.

  • Qt Champions 2019

    @abatesnz Did you check your Desktop kit? Are there any warnings/errors? Also does this Desktop kit really point to the Qt 5.6.1?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    To add to @jsulm, did you install all the development packages related to Qt ?

  • The Desktop kit is not showing any warnings or errors, and is linked to "Qt 5.6.1 in PATH (System)".

    @SGaist: When I installed Centos, I selected the option to install the development tools, which gave me Qt5 Designer and Qt5 Linguist (as well as the Qt4 versions) but not Qt Creator which I had to use Yum to install. So I'm not sure what development packages Centos would have included in the installation. Is there a list somewhere of the development packages I need to have installed?

  • Lifetime Qt Champion

    From a quick look at there's qt5-devel.

  • @SGaist Thanks, however when I try to install it, yum reports that there's no package of that name available.

    I had a similar issue trying to get Qt Creator to install, and had to install epel-release first, which makes me wonder if Qt Creator was not meant to run on Centos (otherwise surely it would have been included by default?)

  • Lifetime Qt Champion

    Qt Creator is not part of the Qt framework, it's "just" a tool based on it.

  • I've just realized that my problem is that Quick Controls 2 requires Qt 5.7 and up, and for some reason the Centos install somehow included an old version, so it looks like I need to upgrade.

    Anyway, thanks for the assistance, all!

  • Qt Champions 2019

    @abatesnz CentOS like Debian is not really fast integrating new software.
    But you still can install current Qt version and QtCreator using Qt Online Installer from Qt download page.

Log in to reply