Missing .pro file ?
-
wrote on 5 Nov 2022, 18:06 last edited by
-
Lifetime Qt Championwrote on 5 Nov 2022, 18:31 last edited by Chris Kawa 11 May 2022, 18:39
There are many different build tools out there. Two of them, natively supported by Qt Creator, are:
qmake is a tool that uses .pro files to describe projects.
CMake is a tool that uses CMakeLists.txt files to describe projects.The project on your screenshot uses CMake.
Qt Creator lets you choose which of them you want to use when creating a new project. -
There are many different build tools out there. Two of them, natively supported by Qt Creator, are:
qmake is a tool that uses .pro files to describe projects.
CMake is a tool that uses CMakeLists.txt files to describe projects.The project on your screenshot uses CMake.
Qt Creator lets you choose which of them you want to use when creating a new project.wrote on 6 Nov 2022, 14:35 last edited by@Chris-Kawa Thanks Chris , and I am glad you did not say "II told you this before, many times ..." or something like that...
I have been asking these stupid question from get go and I wonder if there is a doc which spells out "how to PRECONFIGURE QT".
For example my latest Ubuntu did not come with GCC....
Cheers -
Lifetime Qt Championwrote on 6 Nov 2022, 15:00 last edited by Chris Kawa 11 Oct 2022, 22:50
I'm not sure what you mean by "preconfigure Qt". Qt is just a C++ library. It's mostly self-contained, but it interacts with other libraries if you need to.
A library on its own won't do you any good though. Developing any non-trivial size C++ program requires your own code, libraries, compiler, linker, build tools and an editor. Most computer users are not programmers, so their OS does not come with a C++ compiler or any of those development tools preinstalled, as it would be a huge waste of space. The good and bad thing is that there's so many different tools available for C++ development that there is no single way to choose or set them up. There's plenty of homebrew tutorials out there, but it's likely that if you refer any two of them they will differ in some ways and sometimes contradict.
Start with what you want to achieve, list the things you need for that in your particular environment (OS, package manager, development tools, external hardware etc.) and just go one by one with setting them up.For a basic Linux setup there's this though: Requirements for Development Host
3/4