diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-31 10:25:42 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-10-31 15:08:24 +0000 |
commit | 1631c8bbfdf1bcabe3d860db4626adb780a988e7 (patch) | |
tree | 9ab7f1163cbf2398015b44e534859fbaf2b45abf /examples/opengl/2dpainting/2dpainting.qbs | |
parent | 356ca93eb2f9d3e4be2caf0a0a13cde9cb75e807 (diff) | |
download | qtbase-wip/qbs2.tar.gz |
Port the exampleswip/qbs2
Change-Id: I86d7bddf956b8d48b05b0b96112a74e7e270bb23
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples/opengl/2dpainting/2dpainting.qbs')
-rw-r--r-- | examples/opengl/2dpainting/2dpainting.qbs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/opengl/2dpainting/2dpainting.qbs b/examples/opengl/2dpainting/2dpainting.qbs new file mode 100644 index 0000000000..f245996efc --- /dev/null +++ b/examples/opengl/2dpainting/2dpainting.qbs @@ -0,0 +1,28 @@ +import qbs +import qbs.FileInfo + +CppApplication { + name: "2dpainting" + 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", + "helper.cpp", + "helper.h", + "main.cpp", + "widget.cpp", + "widget.h", + "window.cpp", + "window.h", + ] + + Group { + fileTagsFilter: ["application"] + qbs.install: true + qbs.installDir: FileInfo.joinPaths(Qt.core.examplesInstallDir, "opengl", "2dpainting") + } +} |