aboutsummaryrefslogtreecommitdiffstats
path: root/neptune-ui.pro
blob: 524a832112eae18d04220786d9b4855d45af66d0 (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
requires(linux:!android|win32|osx)
requires(!winrt)

TEMPLATE = subdirs

include(config.pri)

SUBDIRS += plugins
SUBDIRS += doc

copydata.file = copydata.pro
copydata.depends = plugins

# HACK: CI does not have appman in dependency list, which is why
# we are not building the executable to avoid failing integration tests.

qtHaveModule(appman_main-private) {
    have_appman="found"
    SUBDIRS += src
    copydata.depends += src
} else {
    have_appman="not found (custom executable will not be built)")
}

log("$$escape_expand(\\n)Checking for QtApplicationManager: $$have_appman $$escape_expand(\\n\\n)")

SUBDIRS += copydata

# Install all required files
qml.files = apps imports sysui examples styles am-config.yaml Main.qml
qml.path = $$INSTALL_PREFIX/neptune
INSTALLS += qml

OTHER_FILES += $$files($$PWD/*.qml, true)
OTHER_FILES += $$PWD/plugins.yaml.in
PLUGINS_DIR = $$OUT_PWD/qml
QMAKE_SUBSTITUTES += $$PWD/plugins.yaml.in