summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.qmake.conf1
-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
-rw-r--r--src/websockets/doc/qtwebsockets.qdocconf2
9 files changed, 25 insertions, 5 deletions
diff --git a/.qmake.conf b/.qmake.conf
index f52ac42..9a1a304 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -1,6 +1,5 @@
load(qt_build_config)
-CONFIG += qt_example_installs
CONFIG += warning_clean
MODULE_VERSION = 5.7.0
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
diff --git a/src/websockets/doc/qtwebsockets.qdocconf b/src/websockets/doc/qtwebsockets.qdocconf
index 4504d30..ba77c82 100644
--- a/src/websockets/doc/qtwebsockets.qdocconf
+++ b/src/websockets/doc/qtwebsockets.qdocconf
@@ -4,7 +4,7 @@ project = QtWebSockets
description = Qt WebSockets Reference Documentation
version = $QT_VERSION
-examplesinstallpath = qtwebsockets/websockets
+examplesinstallpath = websockets
qhp.projects = QtWebSockets