Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Creator failing to find Qt headers in working cmake+Qt project
I've installed Qt from Qt's online installer in Ubuntu 16.04, and I am using Qt Creator to work on a cmake+Qt project. The Qt project links to the Qt versions installed by Qt's online installer by setting the path to the Qt library through the
Although the Qt Creator manages to build the project without any problem, Qt Creator is unable to find any Qt headers, listing every #include statement as "No such file or directory" and failing to run any autocompletion on Qt code.
Does anyone know how to get Qt Creator to find Qt headers in a cmake+Qt project?
Does anyone know how Qt Creator determines where are Qt's source code in a cmake project?
It's determined by the Kit used.
What version of Qt Creator are you using ?
@SGaist I'm using Qt Creator 4.6.2.
Did you check your kit for any errors ?