-
Bug
-
Resolution: Unresolved
-
P2: Important
-
QtTAS 4.1
-
None
Qt builds should work fine without using ninja, so we should avoid explicitly adding "-GNinja" to the build if Ninja is not detected or setup.
For example it's done under https://codereview.qt-project.org/gitweb?p=qt-labs/qtgradleplugin.git;a=blob;f=src/main/groovy/org/qtproject/qt/gradleplugin/QtBuildTask.groovy;h=dc2de81da88bf1f1112ce025fe4c1bd4388e301f;hb=HEAD#l274
It should either not try to select the generator at all, or if it wants to, then it needs to check if Ninja is setup first.
With that, we could probably also get rid of requiring users to setup Ninja path under the Qt Settings altogether. Or at least give them hints what is ninja and where/how to get it.