summaryrefslogtreecommitdiff
path: root/src/websockets/websockets.pro
diff options
context:
space:
mode:
authorSteven Ceuppens <steven.ceuppens@icloud.com>2013-09-27 14:27:27 +0200
committerKurt Pattyn <pattyn.kurt@gmail.com>2013-09-28 21:17:48 +0200
commit6e1e387174d20fb62a804b6e27438bcc5ea59f28 (patch)
tree68d5c273ea682a244398ba8d3c7fbeb4a5f76b9b /src/websockets/websockets.pro
parent315e4fa0764f8d7a568be2a8063cc33c9ec13518 (diff)
downloadqtwebsockets-6e1e387174d20fb62a804b6e27438bcc5ea59f28.tar.gz
Changes to integrate the websocket module as a full Qt Add-On module
- Changed project files to use Qt structure - Moved existing sources into subdirectory, to make room for moduels - Created a "import/qmlwebsocket" module skeleton (works, but needs to be extended) - Modified examples to not use "include(.pri)", but use "QT += websocket" - Added qml example skeleton (works, but no useful functionality yet) Project can be build with: $ qmake $ make $ make install Module can be used in other projects with QT += websockets Change-Id: I2123026958b264670dbf8a978dee76edf5855806 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/websockets.pro')
-rw-r--r--src/websockets/websockets.pro45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/websockets/websockets.pro b/src/websockets/websockets.pro
new file mode 100644
index 0000000..69ddc9c
--- /dev/null
+++ b/src/websockets/websockets.pro
@@ -0,0 +1,45 @@
+QT += network
+
+TARGET = QtWebSockets
+
+TEMPLATE += lib
+
+DEFINES += QTWEBSOCKETS_LIBRARY
+
+load(qt_module)
+
+QMAKE_DOCS = $$PWD/doc/qwebsockets.qdocconfig
+
+PUBLIC_HEADERS += \
+ $$PWD/qwebsocket.h \
+ $$PWD/qwebsocketserver.h \
+ $$PWD/qwebsocketprotocol.h \
+ $$PWD/qwebsocketsglobal.h \
+ $$PWD/qcorsauthenticator.h
+
+PRIVATE_HEADERS += \
+ $$PWD/qwebsocket_p.h \
+ $$PWD/qwebsocketserver_p.h \
+ $$PWD/handshakerequest_p.h \
+ $$PWD/handshakeresponse_p.h \
+ $$PWD/dataprocessor_p.h \
+ $$PWD/qcorsauthenticator_p.h
+
+SOURCES += \
+ $$PWD/qwebsocket.cpp \
+ $$PWD/qwebsocket_p.cpp \
+ $$PWD/qwebsocketserver.cpp \
+ $$PWD/qwebsocketserver_p.cpp \
+ $$PWD/qwebsocketprotocol.cpp \
+ $$PWD/handshakerequest_p.cpp \
+ $$PWD/handshakeresponse_p.cpp \
+ $$PWD/dataprocessor_p.cpp \
+ $$PWD/qcorsauthenticator.cpp
+
+HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS
+
+#mac:QMAKE_FRAMEWORK_BUNDLE_NAME = $$TARGET
+#mac:QMAKE_CXXFLAGS += -Wall -Werror -Wextra
+
+
+