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

uri = com.theqtcompany.settings.locale

DBUS_INTERFACES = locale.xml

DESTDIR = imports/Locale
TARGET  = localesettingsplugin

HEADERS = \
    systemlocale.h \
    systemlocale_p.h \
    localemodel.h \
    localefiltermodel.h
SOURCES += plugin.cpp \
    systemlocale.cpp \
    localemodel.cpp \
    localefiltermodel.cpp

pluginfiles.files += \
    qmldir \
    Language.qml \
    RegionSelect.qml

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

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


RESOURCES += \
    icons.qrc