Qt WebSockets QML Types
Pour accéder aux types QML, il faut utiliser :
import QtWebSockets 1.12Remarque : avant Qt 5.5, l'instruction d'importation était « import Qt.WebSockets 1.0 » (notez le point entre « Qt » et « WebSockets »). L'ancienne instruction est toujours prise en charge à des fins de compatibilité ascendante, mais elle ne peut pas être mélangée avec la nouvelle instruction au sein d'un même projet.
Interface QML vers QWebSocket | |
Interface QML vers QWebSocketServer |
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.