July 18, 2010

joke joke
Lab Rat
1 posts

syntax highlighting for template files

 

Hello

Qt Creator (2.0) doesn’t recognize the extensions of c++ files commonly used for template code (extensions: .t** => .tcc .tpp .t++). Is there any way to tell Qt Creator to activated highlighting on such files/extensions?

These .t** are used for large amounts of template code which is not supposed to be included in header files (.h**) but obviously can’t be placed in normal body files (.c**) because as template code it can’t be linked via object files (.o).
Projects like gcc (libstdc++) are using the .t** extension for example.

Thanks

2 replies

July 19, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3125 posts

You can change the mime types used to recognize files in a resource file, but there is not way to do it that does not require rebuilding creator (that I am aware of:-).

Please consider filing a bugreport [bugreports.qt.nokia.com].

July 19, 2010

joke joke
Lab Rat
1 posts

Bugreport added [bugreports.qt.nokia.com]

 
  ‹‹ Qt Creator for windows 64 bit      QT Designer Scroll Area not working as expected. ››

You must log in to post a reply. Not a member yet? Register here!