diff options
Diffstat (limited to 'examples/opengl/qopenglwindow/qopenglwindow.qbs')
-rw-r--r-- | examples/opengl/qopenglwindow/qopenglwindow.qbs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/opengl/qopenglwindow/qopenglwindow.qbs b/examples/opengl/qopenglwindow/qopenglwindow.qbs new file mode 100644 index 0000000000..4bcfb0d730 --- /dev/null +++ b/examples/opengl/qopenglwindow/qopenglwindow.qbs @@ -0,0 +1,24 @@ +import qbs +import qbs.FileInfo + +CppApplication { + name: "qopenglwindow" + condition: Qt.gui.present && Qt.gui.config.opengl + + Depends { name: "Qt.gui"; required: false } + + cpp.includePaths: base.concat(".") + + files: [ + "background_renderer.cpp", + "background_renderer.h", + "main.cpp", + "shaders.qrc", + ] + + Group { + fileTagsFilter: ["application"] + qbs.install: true + qbs.installDir: FileInfo.joinPaths(Qt.core.examplesInstallDir, "opengl", "qopenglwindow") + } +} |