Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1221

Let qbs generate check if the generator exists before "building"

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • None
    • Command Line Frontend
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kandeler Christian Kandeler
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes