summaryrefslogtreecommitdiffstats
path: root/app/app.pri
blob: 82f5a74dd95b63f7c99ee33772b642920d2b2212 (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
TEMPLATE = app

load(configure)
qtCompileTest(libhomescreen)

config_libhomescreen {
    CONFIG += link_pkgconfig
    PKGCONFIG += homescreen
    DEFINES += HAVE_LIBHOMESCREEN
}

packagesExist(sqlite3 lightmediascanner) {
    HEADERS += lightmediascanner.h
    SOURCES += lightmediascanner.cpp
    DEFINES += HAVE_LIGHTMEDIASCANNER
    QT += sql
}

packagesExist(dbus-1) {
    HEADERS += dbus.h
    SOURCES += dbus.cpp
    DEFINES += HAVE_DBUS
    QT += dbus
}

DESTDIR = $${OUT_PWD}/../package/root/bin