summaryrefslogtreecommitdiff
path: root/examples/corelib/ipc/localfortuneclient/localfortuneclient.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/corelib/ipc/localfortuneclient/localfortuneclient.qbs
parent356ca93eb2f9d3e4be2caf0a0a13cde9cb75e807 (diff)
downloadqtbase-1631c8bbfdf1bcabe3d860db4626adb780a988e7.tar.gz
Port the exampleswip/qbs2
Change-Id: I86d7bddf956b8d48b05b0b96112a74e7e270bb23 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples/corelib/ipc/localfortuneclient/localfortuneclient.qbs')
-rw-r--r--examples/corelib/ipc/localfortuneclient/localfortuneclient.qbs21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/corelib/ipc/localfortuneclient/localfortuneclient.qbs b/examples/corelib/ipc/localfortuneclient/localfortuneclient.qbs
new file mode 100644
index 0000000000..0aa42d1825
--- /dev/null
+++ b/examples/corelib/ipc/localfortuneclient/localfortuneclient.qbs
@@ -0,0 +1,21 @@
+import qbs
+import qbs.FileInfo
+
+CppApplication {
+ name: "localfortuneclient"
+ condition: Qt.network.present && Qt.widgets.present
+ Depends { name: "Qt.core" }
+ Depends { name: "Qt.network"; required: false }
+ Depends { name: "Qt.widgets"; required: false }
+ files: [
+ "client.cpp",
+ "client.h",
+ "main.cpp",
+ ]
+ Group {
+ fileTagsFilter: ["application"]
+ qbs.install: true
+ qbs.installDir: FileInfo.joinPaths(Qt.core.examplesInstallDir,
+ "corelib", "ipc", "localfortuneclient")
+ }
+}