On 9/5/23 12:08, Jochen Becher wrote:
until qbs 1.9 the following works:
Not on purpose, though.
Quite a number of things "worked" that shouldn't have, as there was a
lot of scope pollution.
import qbs 1.0
import import 'utils.js' as Utils
Probe {
id: workspaceRootDetector
Hi,
until qbs 1.9 the following works:
import qbs 1.0
import import 'utils.js' as Utils
Probe {
id: workspaceRootDetector
property path rootDir
configure: {
rootDir = Utils.detectWorkspaceRoot(qbs)
}
}
Since qbs 2.0.2 (from QtCreator 10.0.2), I get