summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-04-20 20:49:47 +0200
committerLiang Qi <liang.qi@qt.io>2016-05-06 11:12:13 +0000
commit9aec42da31463daf38a2c2813b585e9240acac41 (patch)
treed895e67b1a1967f765576804a1a47848141585e5
parentba9306ec5a1271275d79b2f48ceb227f79352f33 (diff)
downloadqtwebsockets-9aec42da31463daf38a2c2813b585e9240acac41.tar.gz
add example installs
Change-Id: I49d9fda43374776685d2ab1fa653287447d34028 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-rw-r--r--examples/websockets/echoclient/echoclient.pro3
-rw-r--r--examples/websockets/echoserver/echoserver.pro5
-rw-r--r--examples/websockets/qmlwebsocketclient/qmlwebsocketclient.pro3
-rw-r--r--examples/websockets/qmlwebsocketserver/qmlwebsocketserver.pro3
-rw-r--r--examples/websockets/simplechat/simplechat.pro5
-rw-r--r--examples/websockets/sslechoclient/sslechoclient.pro3
-rw-r--r--examples/websockets/sslechoserver/sslechoserver.pro5
7 files changed, 24 insertions, 3 deletions
diff --git a/examples/websockets/echoclient/echoclient.pro b/examples/websockets/echoclient/echoclient.pro
index 24848e7..7c993e6 100644
--- a/examples/websockets/echoclient/echoclient.pro
+++ b/examples/websockets/echoclient/echoclient.pro
@@ -13,3 +13,6 @@ SOURCES += \
HEADERS += \
echoclient.h
+
+target.path = $$[QT_INSTALL_EXAMPLES]/websockets/echoclient
+INSTALLS += target
diff --git a/examples/websockets/echoserver/echoserver.pro b/examples/websockets/echoserver/echoserver.pro
index 6d2360b..eacaedc 100644
--- a/examples/websockets/echoserver/echoserver.pro
+++ b/examples/websockets/echoserver/echoserver.pro
@@ -14,4 +14,7 @@ SOURCES += \
HEADERS += \
echoserver.h
-OTHER_FILES += echoclient.html
+EXAMPLE_FILES += echoclient.html
+
+target.path = $$[QT_INSTALL_EXAMPLES]/websockets/echoserver
+INSTALLS += target
diff --git a/examples/websockets/qmlwebsocketclient/qmlwebsocketclient.pro b/examples/websockets/qmlwebsocketclient/qmlwebsocketclient.pro
index e7dc82a..37d7823 100644
--- a/examples/websockets/qmlwebsocketclient/qmlwebsocketclient.pro
+++ b/examples/websockets/qmlwebsocketclient/qmlwebsocketclient.pro
@@ -11,3 +11,6 @@ SOURCES += main.cpp
RESOURCES += data.qrc
OTHER_FILES += qml/qmlwebsocketclient/main.qml
+
+target.path = $$[QT_INSTALL_EXAMPLES]/websockets/qmlwebsocketclient
+INSTALLS += target
diff --git a/examples/websockets/qmlwebsocketserver/qmlwebsocketserver.pro b/examples/websockets/qmlwebsocketserver/qmlwebsocketserver.pro
index a499c7e..4f1a64f 100644
--- a/examples/websockets/qmlwebsocketserver/qmlwebsocketserver.pro
+++ b/examples/websockets/qmlwebsocketserver/qmlwebsocketserver.pro
@@ -11,3 +11,6 @@ SOURCES += main.cpp
RESOURCES += data.qrc
OTHER_FILES += qml/qmlwebsocketserver/main.qml
+
+target.path = $$[QT_INSTALL_EXAMPLES]/websockets/qmlwebsocketserver
+INSTALLS += target
diff --git a/examples/websockets/simplechat/simplechat.pro b/examples/websockets/simplechat/simplechat.pro
index 5cb6d4f..df6f248 100644
--- a/examples/websockets/simplechat/simplechat.pro
+++ b/examples/websockets/simplechat/simplechat.pro
@@ -14,4 +14,7 @@ SOURCES += \
HEADERS += \
chatserver.h
-OTHER_FILES += *.html
+EXAMPLE_FILES += chatclient.html
+
+target.path = $$[QT_INSTALL_EXAMPLES]/websockets/simplechat
+INSTALLS += target
diff --git a/examples/websockets/sslechoclient/sslechoclient.pro b/examples/websockets/sslechoclient/sslechoclient.pro
index 431301f..925fece 100644
--- a/examples/websockets/sslechoclient/sslechoclient.pro
+++ b/examples/websockets/sslechoclient/sslechoclient.pro
@@ -13,3 +13,6 @@ SOURCES += \
HEADERS += \
sslechoclient.h
+
+target.path = $$[QT_INSTALL_EXAMPLES]/websockets/sslechoclient
+INSTALLS += target
diff --git a/examples/websockets/sslechoserver/sslechoserver.pro b/examples/websockets/sslechoserver/sslechoserver.pro
index a1a5275..b1c0528 100644
--- a/examples/websockets/sslechoserver/sslechoserver.pro
+++ b/examples/websockets/sslechoserver/sslechoserver.pro
@@ -14,6 +14,9 @@ SOURCES += \
HEADERS += \
sslechoserver.h
-OTHER_FILES += sslechoclient.html
+EXAMPLE_FILES += sslechoclient.html
RESOURCES += securesocketclient.qrc
+
+target.path = $$[QT_INSTALL_EXAMPLES]/websockets/sslechoserver
+INSTALLS += target