summaryrefslogtreecommitdiff
path: root/examples/opengl/threadedqopenglwidget/threadedqopenglwidget.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-08-31 10:25:42 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-10-31 15:08:24 +0000
commit1631c8bbfdf1bcabe3d860db4626adb780a988e7 (patch)
tree9ab7f1163cbf2398015b44e534859fbaf2b45abf /examples/opengl/threadedqopenglwidget/threadedqopenglwidget.qbs
parent356ca93eb2f9d3e4be2caf0a0a13cde9cb75e807 (diff)
downloadqtbase-wip/qbs2.tar.gz
Port the exampleswip/qbs2
Change-Id: I86d7bddf956b8d48b05b0b96112a74e7e270bb23 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples/opengl/threadedqopenglwidget/threadedqopenglwidget.qbs')
-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")
+ }
+}