Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
None
-
None
Description
When executing qbs generate -g <invalidname>, qbs does some heavy processing before checking whether the generator is really valid. In case of Qt Creator, it takes qbs a minute to fail. If possible, it would make sense to do the check beforehand.
c:\Users\aportale\dev\qt-creator>c:\Qt\qtcreator-4.5\bin\qbs generate -g schnüselgrumpf
Restoring build graph from disk
Resolving project for configuration default
Building for configuration default <== takes a while!
Build done for configuration default.
ERROR: No generator named 'schn³selgrumpf'. Available generators:
clangdb
visualstudio2010
visualstudio2012
visualstudio2013
visualstudio2015
visualstudio2017
Attachments
Issue Links
- duplicates
-
QBS-1194 qbs generate - Check for valid --generator argument early on
-
- Closed
-