Reputation: 31473
Is it possible to set up QtCreator to treat .d files as C sources?
Upvotes: 1
Views: 1353
Reputation: 3112
There is a file called CppEditor.mimetypes.xml embedded as a resource in the binary executable. This file contains a list of file extensions that are treated as C++ source files.
It can be found in the source tree here: src/plugins/cppeditor/CppEditor.mimetypes.xml
I don't think you can change the list without recompiling Qt Creator from source.
Upvotes: 1
Reputation: 12561
Are you sure it's the limitation of Qt Creator? It might be something in the compiler, though.
Upvotes: 0