| 1 |
TARGET = lomiriappmenu |
| 2 |
TEMPLATE = lib |
| 3 |
|
| 4 |
QT -= gui |
| 5 |
QT += core-private theme_support-private dbus |
| 6 |
|
| 7 |
CONFIG += plugin no_keywords |
| 8 |
|
| 9 |
# CONFIG += c++11 # only enables C++0x |
| 10 |
QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Werror -Wall |
| 11 |
QMAKE_LFLAGS += -std=c++11 -Wl,-no-undefined |
| 12 |
|
| 13 |
CONFIG += link_pkgconfig |
| 14 |
PKGCONFIG += gio-2.0 |
| 15 |
|
| 16 |
DBUS_INTERFACES += com.lomiri.MenuRegistrar.xml |
| 17 |
|
| 18 |
HEADERS += \ |
| 19 |
theme.h \ |
| 20 |
gmenumodelexporter.h \ |
| 21 |
gmenumodelplatformmenu.h \ |
| 22 |
logging.h \ |
| 23 |
menuregistrar.h \ |
| 24 |
registry.h \ |
| 25 |
themeplugin.h \ |
| 26 |
lomiriappmenuextraactionhandler.h \ |
| 27 |
../shared/lomiritheme.h |
| 28 |
|
| 29 |
SOURCES += \ |
| 30 |
theme.cpp \ |
| 31 |
gmenumodelexporter.cpp \ |
| 32 |
gmenumodelplatformmenu.cpp \ |
| 33 |
menuregistrar.cpp \ |
| 34 |
registry.cpp \ |
| 35 |
themeplugin.cpp \ |
| 36 |
lomiriappmenuextraactionhandler.cpp |
| 37 |
|
| 38 |
OTHER_FILES += \ |
| 39 |
lomiriappmenu.json |
| 40 |
|
| 41 |
# Installation path |
| 42 |
target.path += $$[QT_INSTALL_PLUGINS]/platformthemes |
| 43 |
|
| 44 |
INSTALLS += target |