diff options
Diffstat (limited to 'tests/auto/blackbox/testdata/path-list-in-probe/path-list-in-probe.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata/path-list-in-probe/path-list-in-probe.qbs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/path-list-in-probe/path-list-in-probe.qbs b/tests/auto/blackbox/testdata/path-list-in-probe/path-list-in-probe.qbs new file mode 100644 index 000000000..3bf36367a --- /dev/null +++ b/tests/auto/blackbox/testdata/path-list-in-probe/path-list-in-probe.qbs @@ -0,0 +1,18 @@ +Project { + CppApplication { + Probe { + id: theProbe + property pathList result + configure: { + result = ["main.cpp"] + found = true + } + } + property pathList res: theProbe.found ? theProbe.result : [] + + Group { + name: "files" + files: res + } + } +} |