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

Project-level profiles cannot be set as top-level profile from the command line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 2.2.0
    • 2.1.1
    • General
    • None
    • macOS
    • ae7b33993 (master)

    Description

      Consider an example like this:

      Application {
          Profile {
              name: 'my-special-profile'
              qbs.architecture: 'arm64'
              qbs.toolchainType: 'xcode'
              qbs.targetPlatform: 'macos'
          }
      
          name: 'helloworld'
          targetName: 'helloworld-' + qbs.architecture
          files: 'main.cpp'
          Depends { name: 'cpp' }
      }
      

      This is almost a copy-paste from the official documentation.

      If I run

      qbs build profile:my-special-profile
      

      it builds helloworld-undefined while helloworld-arm64 is expected.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            gooroo Serhii Olendarenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes