Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Howto configure QTCreator's Clang backend to treat c as c++ files
ThisIsEusch last edited by
My application was originally written in C (it has been around for more than a decade). Additions are written in C++. Loading a .c file into the editor of QTCreator will give me lot's of annotations. I know I could change the extension to .cpp to solve this. However if I do so, I lose the version history of the given source file (I use Tortoise SVN for vesion control).
However if I do so, I lose the version history of the given source file (I use Tortoise SVN for vesion control).
This is a wrong assumption. Renaming in svn will not kill the history.
If you want that a compiler treat a file as c++ file, rename it to .cpp