The biggest problem with qtcreator is its flexibility. This hits new users badly when it can't create a default "kit".
A "kit" comprises of not just a compiler, but a whole compilation environment. Even if it does automatically (which it should) find your system compiler, it will present at least four different build scenarios (debug,release & two others) with possibly two different tools ("ninja" and "Unix Makefiles"). That can result in eight different ways to compile the same thing. That's just when you tell it to use 'cmake'. It has its own 'qmake' for building QT apps.
I don't use the stock qtcreator. I build my own QT and qtcreator v11. Hopefully the options have not changed..
Edit->Preferences->Kits->[Compilers]
You should see some "auto detected" stuff. If you don't then I suspect you may need to install some other packages because until qtcreator sees something in the "compilers" tab it's not possible to create a kit.
A "kit" comprises of not just a compiler, but a whole compilation environment. Even if it does automatically (which it should) find your system compiler, it will present at least four different build scenarios (debug,release & two others) with possibly two different tools ("ninja" and "Unix Makefiles"). That can result in eight different ways to compile the same thing. That's just when you tell it to use 'cmake'. It has its own 'qmake' for building QT apps.
I don't use the stock qtcreator. I build my own QT and qtcreator v11. Hopefully the options have not changed..
Edit->Preferences->Kits->[Compilers]
You should see some "auto detected" stuff. If you don't then I suspect you may need to install some other packages because until qtcreator sees something in the "compilers" tab it's not possible to create a kit.
Statistics: Posted by swampdog — Sun Dec 31, 2023 11:34 pm