Priority: Not Evaluated
Resolution: Cannot Reproduce
Affects Version/s: Qt Creator 3.3.0
Fix Version/s: Qt Creator 3.4.0
Component/s: Project & Build Management
Environment:OpenSuse Linux 13.2.
Qt Creator 3.3.0 (opensource)
Based on Qt 5.4.0 (GCC 4.6.1, 64 bit)
Built on Dec 8 2014 at 15:21:39
From revision d36c4d87db
I have a CMake project with several targets defined in extarnal CMake files and attached with CMake's add_subdirectory command.
Qt-creator 3.2 correctly listed and parsed all project files.
However, version 3.3 cannot find most of #include-d files. It seems, that is completely disregards CMake's include_directories and target_include_directories commands during includes search. As result, it sees only includes relative to current file, which is of course not always the case in most of real world projects.
Code model dialog also displays strange data. Target names on the Project Parts page are mostly unrelated to files they list below. They are either incomplete or list files from other libraries.
Btw, v 3.2 showed only 1 project part for the same project, which may be not strictly correct, but at least it navigated the code very well.
Please, fix. This just kills the IDE.
|For Gerrit Dashboard: QTCREATORBUG-13695|
|107991,6||CMake: read file-target from CodeBlock file if available||3.4||qt-creator/qt-creator||Status: ABANDONED||-1||0|
|111918,3||CMake: read file-target from CodeBlock file if available||master||qt-creator/qt-creator||Status: ABANDONED||-2||0|