aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/qtscxml/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/qtscxml/main.cpp')
-rw-r--r--tests/auto/blackbox/testdata/qtscxml/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/qtscxml/main.cpp b/tests/auto/blackbox/testdata/qtscxml/main.cpp
new file mode 100644
index 000000000..c9a7d7741
--- /dev/null
+++ b/tests/auto/blackbox/testdata/qtscxml/main.cpp
@@ -0,0 +1,15 @@
+#ifdef HAS_QTSCXML
+#include <dummystatemachine.h>
+#endif
+
+#include <iostream>
+
+int main()
+{
+#ifdef HAS_QTSCXML
+ QbsTest::QbsStateMachine machine;
+ std::cout << "state machine name: " << qPrintable(machine.name()) << std::endl;
+#else
+ std::cout << "QtScxml not present" << std::endl;
+#endif
+}