summaryrefslogtreecommitdiff
path: root/src/webchannel/webchannel.pro
blob: f04e3eb7512e03a75393db2c2625941cc10db701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
TARGET = QtWebChannel
QT = core network websockets
CONFIG += warn_on strict_flags

load(qt_module)

RESOURCES += \
    resources.qrc

OTHER_FILES = \
    qwebchannel.js

PUBLIC_HEADERS += \
    qwebchannel.h \
    qwebchanneltransport.h \
    qwebsockettransport.h

PRIVATE_HEADERS += \
    qwebchannel_p.h \
    qmetaobjectpublisher_p.h \
    qwebchannelsocket_p.h \
    variantargument_p.h \
    signalhandler_p.h

SOURCES += \
    qwebchannel.cpp \
    qmetaobjectpublisher.cpp \
    qwebchannelsocket.cpp \
    qwebsockettransport.cpp

qtHaveModule(qml) {
    QT += qml
    DEFINES += HAVE_QML=1
}

HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS