There's been previous discussion in the list about this and I have the  
very same issue...I have a patch that uses a heuristic to fix it  
(basically it assumes every .h file corresponds to a .cpp file).  I'll  
post a patch next week if you're interested.

--James

On Aug 30, 2009, at 3:05 AM, Mar <[email protected]> wrote:

> Hi all
>
> I really love using Qt-creator. The only thing keeping me away from
> using it on a daily basic is the known issue from version 1.1.0:
> "Project files included from CMakeLists.txt are not shown in the
> navigation tree" (still present in version 1.2.1 ).
>
> Until it is fixed, will it then be possible to make some kind of quick
> work around so that I can see my header files in the project  
> navigation
> tree? (I have no problem with explicit telling Qt-creator which files
> are header files.)
>
> A solution could be to make a variable in CMakeLists.txt containing my
> header files:
>    set( LIST_OF_HEADER_FILES_ONLY_USED_BY_QTCREATOR "file.h"  
> "file2.h" )
> When Qt-creator load CMakeLists.txt and it finds this variable it puts
> the files into the project navigation tree.
>
> Regards,
> Mar
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to