Yes you can. Moreover, unlike a simple text editor, Qt Creator can check syntax and is also more convenient for building and testing. Unnecessary libraries can be disabled by editing the CMakeLists.txt file, or, as mentioned above, the pro file (but it is better to use CMakeLists.txt)