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

Automate connecting a Qt profile to a toolchain profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • None
    • 0.3
    • General
    • None
    • OS X 10.8.2
      qbs 337066325673912eb99007cb505fa033a4c66338
    • a3f7f931c155caf8b0c22f1445080276adb8de8c

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes