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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes