| As I said, the patch was merged out from the master branch, you need to apply it manually in order to get an error. I cannot reproduce this even with false condition though.
Ivan
I've updated to current master and the
problem persists. But only if the condition is false, if it's true
(for another target) all is fine.
There's a lot in that import, but nothing that sets the version,
only one module which reads it.
Am 14.07.2024 um 00:15 schrieb Иван Комиссаров:
Did you try to apply the patch?
What’s in MyOwnApplicationImport?
I changed the import to CppApplication and it doesn’t
recurse https://pastebin.com/jKMxpWGe,
so I’d say the problem is in MyOwnApplicationImport.
Ivan
No it did not reference it
self.
I hit the same problem again (was fixed after
updating) with something similar to:
Project {
name: "Foo"
StaticLibrary {
name: parent.name + " Details"
version: "1.0.0"
Export { version: exportingProduct.version }
}
MyOwnApplicationImport {
condition: someConditionWhichEvaluatesToFalse
name: parent.name
version: details.version
Depends { name: parent.name + " Details"; id:
details }
}
}
And it recursed on the applications version property.
Am 03.07.2024 um 23:56 schrieb Иван Комиссаров:
This (again) seems like an infinite recursion https://bugreports.qt.io/projects/QBS/issues/QBS-1793 and
has nothing to do with XML.
Do you have a property accessing itself (maybe
indirectly) by any chance? Maybe in a Probe?
Ivan.
Hi,
sorry for the delay. I've attacked the stack,
it was always evaluating the same property
again.
This is qbs at 20de9f301.
|
_______________________________________________
Qbs mailing list
[email protected]
https://lists.qt-project.org/listinfo/qbs