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

Newbie first attempt "No suitable kits found"



  • I have experience with wxPHP at producing simple GUI applications, however support has become non-existant for the PHP-7 version,
    so I am looking at qt5. I realize this going to be a very big step.

    I am running Ubuntu_20.04.1 .
    I have installed qtcreator_4.11.0 from the Ubuntu repository
    which brings in qt_5.12.8.
    I have checked I have installed build-essential and libgl1-mesa-dev .

    I launched qtcreator and navigated to File > New Project > Application > Qt Quick application - swipe > Choose
    Under Kit Selection I have "No suitable kits found" so follow the "options" link.
    This shows I have something in each tab, which looks OK.
    The CMake tab > Add it offers me "new Cmake", so I accept that but the entry has a red exclamation mark against it and hovering over it I get the message "CMake executable path does not exist".

    What kit am I supposed to be looking for ?
    Or what other options should I choose?


  • Moderators

    Hi, and welcome!

    @dave-kimble said in Newbie first attempt "No suitable kits found":

    I have installed qtcreator_4.11.0 from the Ubuntu repository
    which brings in qt_5.12.8.

    This brings in the Qt shared objects which the Qt Creator IDE depends on. However, this doesn't bring in any development packages.

    At the minimum, you should also install:

    • qt5-default (the core dev files for Qt in the Ubuntu 20.04 repo)
    • qt5-doc (help files)

    If you want non-core features, install those too (for example, qt5connectivity-dev if you want to write code for Bluetooth comms)

    What kit am I supposed to be looking for ?

    In a nutshell, "Kit" = "Compiler" + "Compatible Qt Dev Libraries".

    You can manage multiple different Kits in Qt Creator, for example:

    • 1 kit for your desktop, using Ubuntu's GGC compiler + Qt libraries for Linux
    • 1 kit for your Android phone, using Android NDK's compiler + Qt libraries for Android


  • So then I tried using "the installer" and got Creator version 4.13 and Qt 5.15.0 plus loads of other things (790 MB !). This time File > New Project > Application > Qt Quick application - swipe > Choose was populated. I chose the "Hello World" example and ran it, producing an empty frame, titled "Hello World". OK.

    It's a pity the Ubuntu repositories don't have the latest versions, and the install is obviously missing part of the set up, The instructions should insist on using the installer and the free download itself should be prominent on the Qt home page.



  • @dave-kimble said in Newbie first attempt "No suitable kits found":

    It's a pity the Ubuntu repositories don't have the latest versions

    ? The point of the repos is to give users a stable version, released with the OS. They are also managed by the OS distro guys, not Qt. Thank goodness they do not offer "the latest versions". For my part I have always used the stable Qt version released with each distro, and never compiled anything of Qt. I may take the latest Creator version, but never Qt version. If you do not need the latest fandangles in Qt I can highly recommend it for a peaceful life :)



  • Yes, I agree with your point. What I was trying to say was that the repo version doesn't install properly and is not the latest stable version. The repo version should be a stable version of qt-unified-linux-x64-3.2.3-online.run , maybe with a package name like qt-install.amd64.deb.



  • Just for the record , not as a invite to pointless arguments.

    As a recent convert to QtCreator I had "an opportunity" to choose "install " of QtCreator , not Qtx , from:

    1. use Qt Creator from github - discarded - since I am not that comfortable with cloning and then configuring BASIC stuff...

    2. use "sudo install ... " - running Ubuntu 16.04 - picked that one.
      Using QtCreator after asking here very similar questions as this post..
      QtCreator doc are OK, getting to know basic about HOW to use QtCreator is a different and not very impressive story.

    3. Use Ubuntu "Software installer" . Tried and was not impressed with slow and invisible installation process. Do not recall the source.

    Off topic (?)
    IMHO there should be a explanation how QTCreator builds an application ( .pro, qmake, make...) and how it interacts with Qtx and QtDesigner.

    From some other posts I gather QtCreator is not very cooperative with OS, also do not see obvious way to keep QtCreator - as IDE _ "updated" - things change.

    I understand THIS forum is about WHY , mostly GUI , things do not perform as expected and NOT about QtCreator as IDE.

    In closing, appreciate description of "kit" and have similar issue , posted elsewhere, about implementing / configuring cloned application. ( Do not expect answer to that issue here , at this post )

    Cheers

    PS
    So which "installation" did you actually ended up using ?



  • @AnneRanch said in Newbie first attempt "No suitable kits found":

    IMHO there should be a explanation how QTCreator builds an application ( .pro, qmake, make...) and how it interacts with Qtx and QtDesigner.

    Is it called documentation, isn't it?


Log in to reply