qiBuild documentation

Building with qibuild and QtCreatorΒΆ

The only thing to remember is that you should not let QtCreator call CMake by itself the first time.

Use qibuild configure then qibuild make to be sure everything works fine.

Then open the root CMakeLists.txt in QtCreator.

You will be prompted to use a build directory:

../../../_images/qtcreator-build-location.png

Warning

Do not use the default one proposed by QtCreator, choose the one that was created by qiBuild

QtCreator will read the settings from the existing build directory, so everything should work fine.

Remember to use the same CMake generator in QtCreator and in your configuration file, if QtCreator asks you to choose one.

Note: If QtCreator does not ask you for a build directory, one way to force it do to so is to delete the CMakeLists.txt.user file.

../../../_images/qtcreator-hello.png