Is it possible to set up QtCreator to treat .d files as C sources?
A:
Are you sure it's the limitation of Qt Creator? It might be something in the compiler, though.
Ariya Hidayat
2009-07-02 22:10:01
Sure. There is no "Treat there extensions as c/c++" option
Dev er dev
2009-07-03 14:08:51
+1
A:
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.
atomice
2009-09-07 11:30:24