summaryrefslogtreecommitdiffstats
path: root/src/qtdevicesettings/timedateplugin/timedateplugin.pro
blob: d82529d01519b5f026b6a5db33dae033dc02efdb (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
TEMPLATE = lib
CONFIG += plugin
QT += qml dbus

uri = com.theqtcompany.settings.timedate

DBUS_INTERFACES = timedated.xml

DESTDIR = imports/TimeDate
TARGET  = qmltimedatesettingsplugin

SOURCES += plugin.cpp \
    systemtime.cpp \
    timezonemodel.cpp \
    timezonefiltermodel.cpp

pluginfiles.files += \
    qmldir


pluginfiles.files += \
    AnalogClock.qml \
    TimeDate.qml \
    TimezonesView.qml \

installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)

target.path = $$installPath
pluginfiles.path += $$installPath
INSTALLS += target pluginfiles


RESOURCES += \
    icons.qrc

HEADERS += \
    systemtime.h \
    systemtime_p.h \
    timezonemodel.h \
    timezonefiltermodel.h