Hi,
I'm currently testing QtCreator 3.0 beta (on Windows) and noticed that
using qbs.getenv() in qbsSearchPaths is not working. For example:
qbsSearchPaths: qbs.getenv("MYROOT") + "/mypath/qbs"
In this case I get an error message: "ReferenceError: Can't find
variable: qbs". In QtCreator 2.8.1, I've used moduleSearchPath instead,
which had no problems with qbs.getenv(). As a workaround, I can resolve
getenv() manually and use its value in the string constant directly.
Also, qbs.getenv() is working perfectly in other cases in the same file.
Is this working as designed? Or is it a known/new issue? In the latter
case, I could create a bug report in Jira.
Thanks,
Thomas
Stryker Leibinger GmbH & Co. KG
Sitz: Freiburg - Handelsregister: AG Freiburg HRA 4375
Komplementaerin: Stryker Beteiligungs GmbH
Geschaeftsfuehrer: Oliver Baertl
Sitz: Freiburg - Handelsregister: AG Freiburg HRB 5441, EAR Nr. 92587730
Bankverbindung: Bank of America N.A. Frankfurt 17 362 010 - BLZ 500 109 00,
IBAN: DE04 5001 0900 0017 3620 10
Diese Nachricht und etwaige Dateianhaenge sind vertrauliche Informationen, die
besonderen Geheimhaltungsvereinbarungen oder -vorschriften unterliegen koennen.
Falls Sie nicht der beabsichtigte Empfaenger der Nachricht sind, werden Sie
gebeten, den Absender telefonisch oder durch E-Mail zu unterrichten und die
Nachricht und etwaige Dateianhaenge vollstaendig und endgueltig zu loeschen.
Die Nachricht und ihr Inhalt duerfen in diesem Fall nicht kopiert, ausgedruckt
oder weitergeleitet werden.
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient,
please telephone or e-mail the sender and delete this message and any
attachment from your system. If you are not the intended recipient you must
not copy this message or attachment or disclose the contents to any other
person.
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs