Hello,

I`ve opened cmake project (written in c++) and observed the following issue : 
only source files 
referenced by cmake rules like add_library(), add_executable() are listed in 
the 
"Project explorer" view. So I`m not able to open any header using that view. At 
the same time, 
switching between method declaration/implementation works fine. Are there any 
additional actions I 
need to do to be able to see all source files in the "Project explorer" view ?

Environment : cmake 2.8, Creator 1.2.1/1.3.85, openSUSE 11.2

Thanks in advance,
Konstantin

P.S. As I understand, qt creator uses CodeBlocks .cbp project file to import 
cmake project.
        All source files that are visible under "Project explorer" view are 
listed in that XML file 
       in the following way : "<Unit 
filename="/path/to/source/private/CAnyClass.cpp"></Unit>"
       If I manually add missing header files to this list, they appear in the 
"Project explorer"
       view. Therefore, I`m able to avoid the issue by using simple 
script/custom 
       build steps, but that looks like a dirty hack.
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to