Details
-
Type:
Suggestion
-
Status: Reported
-
Priority:
P3: Somewhat important
-
Resolution: Unresolved
-
Affects Version/s: 6.3.1
-
Fix Version/s: None
-
Component/s: Build System: CMake
-
Labels:None
Description
From qmake --help
-project Put qmake into project file generation mode In this mode qmake interprets [files] as files to be added to the .pro file. By default, all files with known source extensions are added. Note: The created .pro file probably will need to be edited. For example add the QT variable to specify what modules are required.
This tool is useful when someone only provides a .cpp file reproducer, but not cmakelists.txt or .pro file.
You then have to write the boilerplate project yourself.
Having some standalone qt-cmake-project tool would ease the pain.