[Qt-creator] Helping out QtCreator find my include paths

Michael Jackson imikejackson at gmail.com
Thu Jan 8 03:09:38 CET 2015


I am still having some issues with include paths, CMake projects and QtCreator. I was scouring the internet looking for work arounds and about the only thing I can find is some obscure mention of a "project.includes" file that can be used that lists the include directories, one on each line. I tried making one up but I have no idea what to really name the file, where to put it or what. Maybe someone can shed some light on this. Here is my setup.

I open QtCreator and select "Open Project" and proceed to select my CMakeLists.txt file. I go through the normal cmake process and select a build directory and successfully create the project. My main project is in a folder called "DREAM3D". In the CMakeLists.txt file, the top level project is called "DREAM3DProj". I create a directory called "Build" inside the DREAM3D directory to hold all the build files. What should I name my .includes file and where should I put it?

I am using QtCreator 3.3.1 Nightly builds.

Thanks for any help
Mike Jackson




More information about the Qt-creator mailing list