summaryrefslogtreecommitdiff
path: root/src/websockets/doc/src/index.qdoc
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-08-02 11:29:47 +0200
committerLiang Qi <liang.qi@qt.io>2016-08-02 11:29:47 +0200
commit32c3d9bb5a8825296cdfc92ffeeb44f74efbb638 (patch)
treedd1af3d7da1c64caac6d3b7c3f21c06e89477714 /src/websockets/doc/src/index.qdoc
parent5bc48a4443b5b4a3ab2e20c6c839305f698946ed (diff)
parent38d830d00fc2f8c196d736094448e55623e4b35e (diff)
downloadqtwebsockets-32c3d9bb5a8825296cdfc92ffeeb44f74efbb638.tar.gz
Merge remote-tracking branch 'origin/5.7' into dev
Conflicts: .qmake.conf Change-Id: I593c47e7aeebb7997f42a7408a8d22704d2713a1
Diffstat (limited to 'src/websockets/doc/src/index.qdoc')
-rw-r--r--src/websockets/doc/src/index.qdoc14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/websockets/doc/src/index.qdoc b/src/websockets/doc/src/index.qdoc
index 9e1c40c..4f25589 100644
--- a/src/websockets/doc/src/index.qdoc
+++ b/src/websockets/doc/src/index.qdoc
@@ -41,15 +41,21 @@
Qt applications to act as a server that can process WebSocket requests,
or a client that can consume data received from the server, or both.
- To use this module in your application, use the following include
- statement:
+ \section1 Getting Started
+
+ To include the definitions of the module's classes, use the following directive:
\code
#include <QtWebSockets/QtWebSockets>
\endcode
- To link against the module, add this line to your \l qmake \c
- .pro file:
+ To import the QML types into your application, use the following import statement in your .qml file:
+
+ \code
+ import QtWebSockets 1.0
+ \endcode
+
+ To link against the module, add this line to your qmake .pro file:
\code
QT += websockets