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

Can't set module provider's properties on a project level

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 2.4.0
    • General
    • None

    Description

      I'd like to set the conan.installDirectory on the project level to eliminate the need to do that from the command-line:

      Project {
          qbsModuleProviders: ['Qt', 'conan']
      
          moduleProviders.conan.installDirectory: project.buildDirectory
      }
      

      However, this doens't work:

      ERROR:
      project.qbs:4:42 Item 'moduleProviders.conan' is not declared. Did you forget to add a Depends item? 
      

      It works on a products' level though, but I have too many of them to consider it as a reasonable workaround.

      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:

              Gerrit Reviews

                There are no open Gerrit changes