summaryrefslogtreecommitdiff
path: root/src/webchannel/webchannel.pro
blob: edaac13f65c1c596a55903ddf42e79d336f5c692 (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
37
38
39
40
41
42
43
44
45
46
TARGET = QtWebChannel
QT = core-private
CONFIG += warn_on strict_flags

load(qt_module)

QMAKE_DOCS = $$PWD/doc/qtwebchannel.qdocconf

RESOURCES += \
    resources.qrc

OTHER_FILES = \
    qwebchannel.js

PUBLIC_HEADERS += \
    qwebchannel.h \
    qwebchannelabstracttransport.h

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

SOURCES += \
    qwebchannel.cpp \
    qmetaobjectpublisher.cpp \
    qwebchannelabstracttransport.cpp

qtHaveModule(qml) {
    QT += qml

    DEFINES += "QT_HAVE_QML"

    SOURCES += \
        qqmlwebchannel.cpp \
        qqmlwebchannelattached.cpp

    PUBLIC_HEADERS += \
        qqmlwebchannel.h

    PRIVATE_HEADERS += \
        qqmlwebchannelattached_p.h
}

HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS