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

Automate connecting a Qt profile to a toolchain profile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 0.3
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      OS X 10.8.2
      qbs 337066325673912eb99007cb505fa033a4c66338
    • Commits:
      a3f7f931c155caf8b0c22f1445080276adb8de8c

      Description

      Since 23741109032b5030b4ec60d477b65ed92cb3ce49 [Remove support for "global" settings.], I've been getting the following error:

      share/qbs/modules/qt/core/qtcore.qbs:60 Binding 'cpp.frameworkPaths' failed, no property 'cpp' in the scope of module qt/core

      I wiped my ~/Library/Preferences/com.qtproject.qbs.list, did a completely clean build of qbs, ran `qbs-detect-toolchains` and `qbs-setup-qt --detect` before trying to build a Qt-based project and getting this error.

      I tried setting profiles.<name>.qbs.baseProfile to 'gcc' for my Qt profile but then received an error that qbs.baseProfile is unknown (seemingly contrary to the documentation).

      I then tried manually adding all of my 'gcc' profile's properties to my Qt profile and that works as expected. I'm guessing that qbs.baseProfile is simply not working, and qbs-setup-qt should probably automatically set a base profile appropriate for any Qt profiles that are set up using --detect.

        Attachments

          Issue Links

          For Gerrit Dashboard: QBS-207
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              kandeler Christian Kandeler
              Reporter:
              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes