diff options
Diffstat (limited to 'tests/auto/language/testdata/dotted-names/dotted-names.qbs')
-rw-r--r-- | tests/auto/language/testdata/dotted-names/dotted-names.qbs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/auto/language/testdata/dotted-names/dotted-names.qbs b/tests/auto/language/testdata/dotted-names/dotted-names.qbs new file mode 100644 index 000000000..cf5658384 --- /dev/null +++ b/tests/auto/language/testdata/dotted-names/dotted-names.qbs @@ -0,0 +1,24 @@ +import qbs + +Project { + name: "theProject" + property bool includeDottedProduct + property bool includeDottedModule + + Project { + condition: project.includeDottedProduct + Product { + name: "a.b" + Export { property string c: "default" } + } + } + + Product { + name: "p" + Depends { name: "a.b"; condition: project.includeDottedProduct } + Depends { name: "x.y"; condition: project.includeDottedModule } + a.b.c: "p" + x.y.z: "p" + } +} + |