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