aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/alexaauth/alexaauth.pro
blob: fdd2c14fa49273b36cc003acdebec6732bfc5068 (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
TEMPLATE = lib
TARGET = alexaauth
QT += qml quick

# Is Qt Application manager compiled with 'enable-widgets' configuration.
# Do not change without recompiling the Qt Application Manger.
QAPPMAN_ENABLES_WIDGETS = 0

equals(QAPPMAN_ENABLES_WIDGETS, 1) {
    qtHaveModule(webenginewidgets) {
        QT += webenginewidgets
        DEFINES += ALEXA_QT_WEBENGINE
    }
    else {
        message("Qt module webenginewidgets is not available.")
    }
}

CONFIG += plugin c++14

TARGET = $$qtLibraryTarget($$TARGET)
uri = alexaauth

HEADERS += \
    alexaauth_plugin.h \
    alexaauth.h

SOURCES += \
    alexaauth_plugin.cpp \
    alexaauth.cpp

MOC_DIR = .moc
OBJECTS_DIR = .obj

DISTFILES = qmldir

qmldir.files = qmldir

unix {
    installPath = /apps/com.luxoft.alexa/imports/alexaauth
    qmldir.path = $$installPath
    target.path = $$installPath

    INSTALLS += target qmldir
}