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

Command line property assignments potentially treat values as floats

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: Command Line Frontend
    • Labels:
      None
    • Commits:
      501bb599bfcfa7b98227f7fc295cd8e0a09bc927

      Description

      Consider the following project:

      import qbs
      Product {
          Depends { name: "cpp" }
          targetName: { console.error(cpp.minimumMacosVersion); }
      }

      Build with:

      qbs modules.cpp.minimumMacosVersion:10.10

      "10.1" will be printed. cpp.minimumMacosVersion is (obviously) a string property, so this should not happen.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes