summaryrefslogtreecommitdiff
path: root/examples/webchannel/standalone/standalone.pro
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2014-08-13 14:14:49 +0200
committerMilian Wolff <milian.wolff@kdab.com>2014-08-13 14:43:24 +0200
commit62760f579b52fbd19d85d31fa90274f9b0dc5111 (patch)
treecb348241c606632ad9dbc575e28910e9302a2cc5 /examples/webchannel/standalone/standalone.pro
parent150fba9166d0cd63079d8ed15af5f80a759e9549 (diff)
downloadqtwebchannel-62760f579b52fbd19d85d31fa90274f9b0dc5111.tar.gz
Doc: Fix example documentation and paths
To fix issues related to example documentation and to follow Qt convention, do the following changes: - Rename examples/qwebchannel to examples/webchannel - Move example-specific documentation to correct location(s) - Include generic 'Running the Example' instructions - Add the module name to example title, fix links This ensures that example docs are built and the example manifest file generated correctly. Change-Id: I284e0b13db95a6738d72258735018b59156cc7da Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'examples/webchannel/standalone/standalone.pro')
-rw-r--r--examples/webchannel/standalone/standalone.pro22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/webchannel/standalone/standalone.pro b/examples/webchannel/standalone/standalone.pro
new file mode 100644
index 0000000..fdeb87a
--- /dev/null
+++ b/examples/webchannel/standalone/standalone.pro
@@ -0,0 +1,22 @@
+QT += gui webchannel widgets websockets
+
+CONFIG += warn_on
+
+SOURCES += \
+ main.cpp \
+ websockettransport.cpp \
+ websocketclientwrapper.cpp
+
+HEADERS += \
+ websockettransport.h \
+ websocketclientwrapper.h
+
+FORMS += \
+ dialog.ui
+
+DEFINES += "BUILD_DIR=\"\\\""$$OUT_PWD"\\\"\""
+
+exampleassets.files += \
+ index.html
+exampleassets.path = $$[QT_INSTALL_EXAMPLES]/qwebchannel/standalone
+include(../exampleassets.pri)