aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/qml-debugging
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/qml-debugging')
-rw-r--r--tests/auto/blackbox/testdata/qml-debugging/main.cpp12
-rw-r--r--tests/auto/blackbox/testdata/qml-debugging/project.qbs9
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/qml-debugging/main.cpp b/tests/auto/blackbox/testdata/qml-debugging/main.cpp
new file mode 100644
index 000000000..51f46ef65
--- /dev/null
+++ b/tests/auto/blackbox/testdata/qml-debugging/main.cpp
@@ -0,0 +1,12 @@
+#include <QGuiApplication>
+#include <QQmlApplicationEngine>
+
+int main(int argc, char *argv[])
+{
+ QGuiApplication app(argc, argv);
+
+ QQmlApplicationEngine engine;
+ engine.load(QUrl(QStringLiteral("qrc:///qml/main.qml")));
+
+ return app.exec();
+}
diff --git a/tests/auto/blackbox/testdata/qml-debugging/project.qbs b/tests/auto/blackbox/testdata/qml-debugging/project.qbs
new file mode 100644
index 000000000..690bf40f9
--- /dev/null
+++ b/tests/auto/blackbox/testdata/qml-debugging/project.qbs
@@ -0,0 +1,9 @@
+import qbs
+
+CppApplication {
+ name: "debuggable-app"
+ type: "application"
+ Depends { name: "Qt.quick" }
+ Qt.quick.qmlDebugging: true
+ files: "main.cpp"
+}