Compile one file in QT Creator
qt-creator
Solution
It is now possible to do it, since at least Qt Creator 2.8.1.
Use `Build->Build file <filename>` or the shortcut Ctrl+Alt+B:
Or right click on a file in the project view, and there is a Build item in the context menu that builds just that file:
You can track the feature request or vote for it at https://bugreports.qt.io/browse/QTCREATORBUG-106.
Problem
How to compile only one file from project in QT creator. Is there a hotkey? For example in VS you can press Ctrl F7 and compile your current cpp file.