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

Command line property assignments potentially treat values as floats

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.12.0
    • 1.11.0
    • Command Line Frontend
    • None
    • 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

            kandeler Christian Kandeler
            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