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. Centos installation: Quick Controls 2 projects in Qt Creator report "No valid kits found"
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 3 Posters 2.7k Views 2 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.
  • A Offline
    A Offline
    abatesnz
    wrote on last edited by
    #1

    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

    jsulmJ 1 Reply Last reply
    0
    • A abatesnz

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        abatesnz
        wrote on last edited by
        #3

        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.

        jsulmJ 1 Reply Last reply
        0
        • A abatesnz

          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.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          https://forum.qt.io/topic/113070/qt-code-of-conduct

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

            Hi and welcome to devnet,

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

            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
            • A Offline
              A Offline
              abatesnz
              wrote on last edited by
              #6

              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?

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

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

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

                A 1 Reply Last reply
                1
                • SGaistS SGaist

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

                  A Offline
                  A Offline
                  abatesnz
                  wrote on last edited by
                  #8

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

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

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

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

                    A 1 Reply Last reply
                    0
                    • SGaistS SGaist

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

                      A Offline
                      A Offline
                      abatesnz
                      wrote on last edited by abatesnz
                      #10

                      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!

                      jsulmJ 1 Reply Last reply
                      0
                      • A abatesnz

                        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!

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

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

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0

                        • Login

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