Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
2.0.2
-
None
-
-
12bc60c93 (2.3)
Description
1. In Provider context, Probes cannot have access to the fake qbs module.
property path sysroot: qbs.toolchain && qbs.toolchain.includes("xcode") ? undefined : qbs.sysroot Probes.QbsPkgConfigProbe { id: theProbe _sysroot: sysroot // oops } // qbspkgconfig.qbs:69:19 'qbs' is not defined
2. In Provider context , typo in the imported module name/function is not reported; execution is silently aborted:
// smth like that import qbs.ModUtils; relativeSearchPaths: { console.info(ModUtils.nonExist("pkg.name")); // no error }
3. string list props cannot be compared for equality:
Product { condition: { console.info(qbs.targetOS); console.info(qbs.hostOS); console.info(qbs.hostOS == qbs.targetOS); return true; } } macos,darwin,bsd,unix macos,darwin,bsd,unix false
Attachments
For Gerrit Dashboard: QBS-1742 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
556238,2 | Loader: Fix look-up of qbs properties from provider probes | 2.3 | qbs/qbs | Status: MERGED | +2 | -1 |