Qt Creator: g++ for both c and cpp files
Unsolved
Qt Creator and other tools
-
wrote on 30 Aug 2019, 01:11 last edited by
I am using Qt Creator (Qt 5.9) on an integrated project which contains non-Qt files but on top of that the files are C and C++. Qt Creator has an option in the build tools for g++ for the *.cpp files and gcc for the *.c files.
I want to force the *.c files to compile using g++ instead of gcc but I can't figure out how to do that. Any ideas? Any thing I should add to the .pro file?
1/1