[Qt-creator] ReferenceError: Can't find variable: type
Denis Shienkov
denis.shienkov at gmail.com
Wed Jul 29 09:43:42 CEST 2015
Hi folks,
is there are any progress with this?
BR,
Denis
2015-07-15 11:32 GMT+03:00 Denis Shienkov <denis.shienkov at gmail.com>:
> Hi all.
>
> Can someone look on this bug: https://bugreports.qt.io/browse/QBS-832 ?
>
> There is an epic bug which can be reproduced so:
>
>
> =
> c:\Qt\Qt5.5.0-msvc\Tools\QtCreator\share\qtcreator\qbs\share\qbs\modules\foo\FooModule.qbs
> =
>
> import qbsimport qbs.ModUtils
>
> Module {
> property stringList example: type.contains("bla") ? ["123"] : ["456"]
> }
>
> === test.qbs ==
>
> import qbs
>
> Project {
> Product {
> name: "Bar"
> Depends {name: "foo" }
> foo.example: ["789"] // <<< this fails }
> }
>
>
> In this case unable to open the QBS project at all, because can not parse:
>
> "ReferenceError: Can't find variable: type"
>
> This does not work on Windows 8x32, QtCreator 3.4.2.. But works with
> QtCreator 3.4.1.
>
> What is it? :((
>
> BR,
> Denis
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150729/86a9e79d/attachment.html>
More information about the Qt-creator
mailing list