Details
Description
In the IB module where I'm adding new features I have:
setupBuildEnvironment: { var v = new ModUtils.EnvironmentVariable("PATH", qbs.pathListSeparator, qbs.hostOS.contains("windows")); v.prepend(cpp.toolchainInstallPath); v.set(); }
For some reason I randomly receive "ERROR: Error while setting up build environment: ReferenceError: Can't find variable: getEnv" when running autotests. qbs.ModUtils is imported. Ideas?
I should add that I no longer need this anyways because the dependency on the cpp module ends up adding the directories to the PATH that I need. Still odd.