summaryrefslogtreecommitdiff
path: root/examples/opengl/threadedqopenglwidget
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/threadedqopenglwidget')
-rw-r--r--examples/opengl/threadedqopenglwidget/threadedqopenglwidget.qbs24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/opengl/threadedqopenglwidget/threadedqopenglwidget.qbs b/examples/opengl/threadedqopenglwidget/threadedqopenglwidget.qbs
new file mode 100644
index 0000000000..d48e10ebb5
--- /dev/null
+++ b/examples/opengl/threadedqopenglwidget/threadedqopenglwidget.qbs
@@ -0,0 +1,24 @@
+import qbs
+import qbs.FileInfo
+
+CppApplication {
+ name: "threadedqopenglwidget"
+ condition: Qt.widgets.present && Qt.gui.config.opengl
+
+ Depends { name: "Qt.gui"; required: false }
+ Depends { name: "Qt.widgets"; required: false }
+
+ files: [
+ "glwidget.cpp",
+ "glwidget.h",
+ "main.cpp",
+ "mainwindow.cpp",
+ "mainwindow.h",
+ ]
+
+ Group {
+ fileTagsFilter: ["application"]
+ qbs.install: true
+ qbs.installDir: FileInfo.joinPaths(Qt.core.examplesInstallDir, "opengl", "threadedqopenglwidget")
+ }
+}