summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-05-19 21:45:42 +0200
committerLiang Qi <liang.qi@qt.io>2016-05-19 21:45:42 +0200
commitcd80c041220df2875297622a0012933412730e9d (patch)
tree2f691d075c2cc708f1b2121306df1f5a019ce33b /examples
parent00156d63eea2fb7681a8a00a3144392d6325e5cb (diff)
parent9d28979b204313b4db1ce8e9f367204a65be9c64 (diff)
downloadqtwebsockets-cd80c041220df2875297622a0012933412730e9d.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-rc1
Conflicts: .qmake.conf Change-Id: I80cd189fc82481fdc2241db6d2a7d95537c340a6
Diffstat (limited to 'examples')
-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