ext Mar wrote:
> [email protected] wrote:
>> 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.
>>   
> Sounds great, looking forward to use you patch. (Then I can just make an 
> empty .cpp file for the few .h files I have with out a corresponding 
> .cpp mush easier than the work-arund I sugested).

It should be easier to just list your .h files in the CMakeLists.txt 
file. cmake knows that it should just ignore them, as far as I am aware. 
For example in a hobby project I'm working on we just have:

SET(SRCS
     gui/widgets/button.cpp
     gui/widgets/button.h
etc.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to