Setting Up An Application With QtCreator - Linux
This set of instructions will walk you through setting up a QtCreator C++ project from scratch.
When you have finished this tutorial you will be able to compile a working Ogre Application and you will be ready to start the Basic Tutorials.
Table of contents
Follow the instruction at Building Your Projects With CMake to setup a CMake project.
Do not generate the project using the CMake GUI - you don't need to as QtCreator will handle the rest.
You need to find the qtcreator-build directory and run this in a console:
make && make install
The reason is that it's a bit involved to set up an INSTALL build configuration in QtCreator, and it only needs to be done once.
Now, click the green arrow in the sidebar to build and run the project.
Since we haven't set up any run configuration, we are prompted to do that in the following dialogue:
Choose build_directory/dist/bin/OgreApp as executable and build_directory/dist/bin as working directory.
As you can see, it's rather easy to setup a project in QtCreator if you use a CMake script.
QtCreator doesn't touch your source directory, except one file: CMakeLists.txt.user.