Commit 10cad9ec authored by Kai Koehne's avatar Kai Koehne
Browse files

Doc: Also mention QML Import in index page


qtwebsockets-index.html is the entry point for both C++ and QML API.

Change-Id: I81efb2d7b931cce0d63efc2f25ce89904abcbfad
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
parent 9d28979b
Branches
Tags
No related merge requests found
Showing with 10 additions and 4 deletions
...@@ -41,15 +41,21 @@ ...@@ -41,15 +41,21 @@
Qt applications to act as a server that can process WebSocket requests, 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. or a client that can consume data received from the server, or both.
To use this module in your application, use the following include \section1 Getting Started
statement:
To include the definitions of the module's classes, use the following directive:
\code \code
#include <QtWebSockets/QtWebSockets> #include <QtWebSockets/QtWebSockets>
\endcode \endcode
To link against the module, add this line to your \l qmake \c To import the QML types into your application, use the following import statement in your .qml file:
.pro file:
\code
import QtWebSockets 1.0
\endcode
To link against the module, add this line to your qmake .pro file:
\code \code
QT += websockets QT += websockets
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment