Add initial support for a declarative WebSocketServer.
[contrib/qtwebsockets.git] / src / imports / qmlwebsockets / qmlwebsockets.pro
index 18d3713..f7698d8 100644 (file)
@@ -1,11 +1,17 @@
 QT = core websockets qml
 
-TARGETPATH = Qt/Playground/WebSockets
+TARGETPATH = Qt/WebSockets
 
-HEADERS += qmlwebsockets_plugin.h \
-    qqmlwebsocket.h
+HEADERS +=  qmlwebsockets_plugin.h \
+            qqmlwebsocket.h \
+            qqmlwebsocketserver.h
 
-SOURCES += qmlwebsockets_plugin.cpp \
-    qqmlwebsocket.cpp
+SOURCES +=  qmlwebsockets_plugin.cpp \
+            qqmlwebsocket.cpp \
+            qqmlwebsocketserver.cpp
+
+OTHER_FILES += qmldir
+
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
 
 load(qml_plugin)