diff options
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 |