summaryrefslogtreecommitdiff
path: root/Tests/QtAutogen/Parallel/bbb/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/Parallel/bbb/item.cpp')
-rw-r--r--Tests/QtAutogen/Parallel/bbb/item.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/Tests/QtAutogen/Parallel/bbb/item.cpp b/Tests/QtAutogen/Parallel/bbb/item.cpp
new file mode 100644
index 000000000..9ef128ed0
--- /dev/null
+++ b/Tests/QtAutogen/Parallel/bbb/item.cpp
@@ -0,0 +1,23 @@
+#include "item.hpp"
+// Include ui_view.h only in source
+#include <bbb/ui_view.h>
+
+namespace bbb {
+
+class MocLocal : public QObject
+{
+ Q_OBJECT;
+
+public:
+ MocLocal() = default;
+ ~MocLocal() = default;
+};
+
+void Item::go()
+{
+ Ui_ViewBBB ui;
+ MocLocal obj;
+}
+}
+
+#include "bbb/item.moc"