[Development] Using QtCreator for Qt development

Thiago Macieira thiago.macieira at intel.com
Sat Dec 10 16:04:59 CET 2022

On Saturday, 10 December 2022 04:57:34 PST Владимир Белявский wrote:
> Hello there,
> I suspect that my Qt development process is far away from optimal...
> I have a top-level developer shadow build and my process looks like:
> 1. Open source files that need to be changed in QtCreator
> 2. Make changes
> 3. Go to the console and run cmake build
> 4. Go back to IDE and fix the code if build failed
> 5. Repeat p3 and p4 multiple times
> 6. Go to the console and run ctest
> 7. Open failed tests in IDE, investigate the problem, fix code
> 8. Repeat p1-p7 multiple times
> ...
> 42. Go to console, commit and push to gerrit.
> So the question - is it possible somehow to open my configured Qt as a
> normal project in Qt Creator, view all the modules there as separate
> projects, build them individually or all together right from IDE, also view
> all unit tests there, debug, fix, build and run selected directly and so on?

Yes, start by configuring each module with cmake (or configure, in case of 
qtbase), not the top-level.

You can't build them all at once if you do this. You'll need to configure and 
build each one.

Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering

More information about the Development mailing list