[Qt-creator] How to get syntax highlighting for CMakeLists.txt?

Nikos Chantziaras realnc at gmail.com
Thu Mar 28 12:30:41 CET 2013


On 28/03/13 13:03, Nikos Chantziaras wrote:
> On 27/03/13 12:59, Nikos Chantziaras wrote:
>> When I open a CMakeLists.txt in Creator it pops up an information bar
>> saying:
>>
>> "A highlight definition was not found for this file. Would you like to
>> try to find one?"
>>
>> How do I get this to work? [...]
>>
>> I'm on Qt Creator 2.7.0 with Qt 4.8.4 and KDE 4.10.1.
>
> Today, it started working correctly on its own.  I didn't change
> anything in the settings.
>
> Well, that works.  Not complaining :-P

Sorry for the monologue folks, but I've come across another issue now. 
After actually building the project, Creator now red-underlines some 
lines in my CMakeLists.txt, even though there's nothing wrong with them.

Is this a known problem?




More information about the Qt-creator mailing list