PDA

View Full Version : Using Qt Creator as a pure C IDE?



blooglet
4th October 2011, 13:38
I love Qt Creator as an IDE and I want to start using it for all my C/C++ needs, even when they don't involve Qt. Is there a way to create a C project in Qt Creator? I know C++ is backwards compatible but I want to leave C++ out of this.

stampede
4th October 2011, 17:44
I don't see why not - try to use "Other project -> import existing project" option when creating new project, then select the folder with your C code.
Auto completion and searching should work as usual, build options can be customized as well, if you are using "regular" make it shouldn't be a problem too.

ktk
10th November 2011, 23:30
There's also 'File->New File or Project->Other Project', 'Plain C Project' and 'Plain C++ Project' in recent builds of Qt Creator

Santosh Reddy
11th November 2011, 01:21
Nice to someone like me:) I have been doing that for some time now (I changed from eclipse)