Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Syntax highlighting for template files

Syntax highlighting for template files

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 3.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    joke
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      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":http://bugreports.qt.nokia.com/.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        joke
        wrote on last edited by
        #3

        "Bugreport added":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1896

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved