Qt Creator 4.3 and single file compilation
-
Hi,
Windows, Qt Creator 4.3 and Ninja/VS with CMake projectI'm currently cleaning the project code from multitude of higher level warnings. In VS I had option to compile a single file (CTRL-F7) which showed me warnings from it.
How can I achieve the same from the Qt Creator? In past people described that there were a possibility (like Build -> Build single file or right click on single file in project explorer and trigger build). It's not available now.
-
@SebastianM In menu "Build/Build File "FILE_NAME"" (Ctrl+Alt+B) - easy to find in the menu.
-
Hi,
Yes, I was looking inside and .. found none. See your self.
-
@SebastianM I did before I posted.
Just realized you're using CMake - in this case there is no such feature in QtCreator. -
As far as I can tell cmake does not have that feature either, at least not in a way that works for all generators. So Creator can not support this with cmake.