[Qt-creator] QtCreator 4.3.Beta1 + CMake 3.7.2 Header files of Project not found?

Tobias Hunger Tobias.Hunger at qt.io
Thu Feb 23 13:11:12 CET 2017

On Tue, 2017-02-21 at 08:23 -0500, Mike Jackson wrote:
> Using the latest nightly from QtCreator 4.3.Beta1(866) there seems to be 
> a problem with include paths for header files? Screenshot attached. All 
> of our headers are listed as sources for each of their respective 
> projects. This works very well with QtCreator 4.2.x.

Headers explicitly listed as source files in CMake do get detected for me just
like they are in tea leaf reading mode (CMake without server-mode).

>  This is also 
> leading to the code completion not working with our header files because 
> the include paths can not be found.

What include paths do you set in CMake? Do you "set(CMAKE_INCLUDE_CURRENT_DIR
ON)" in your CMakeLists.txt files?

> Just giving some feedback on what we are seeing with the latest builds. 
> This is on macOS 10.10.5 with Xcode 7.2.1 tooling.

Thanks for the feedback, it is very much appreciated!

Best Regards,

Tobias Hunger, Senior Software Engineer | The Qt Company
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho. Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

More information about the Qt-creator mailing list