| 1 |
QT += core dbus widgets |
| 2 |
|
| 3 |
TEMPLATE = lib |
| 4 |
TARGET = kysdk-shortcut |
| 5 |
VERSION = 2.5.1.0 |
| 6 |
|
| 7 |
CONFIG += c++17 link_pkgconfig |
| 8 |
PKGCONFIG += dconf \ |
| 9 |
gio-2.0 \ |
| 10 |
gsettings-qt6 |
| 11 |
|
| 12 |
# The following define makes your compiler emit warnings if you use |
| 13 |
# any Qt feature that has been marked deprecated (the exact warnings |
| 14 |
# depend on your compiler). Please consult the documentation of the |
| 15 |
# deprecated API in order to know how to port your code away from it. |
| 16 |
DEFINES += QT_DEPRECATED_WARNINGS |
| 17 |
|
| 18 |
# You can also make your code fail to compile if it uses deprecated APIs. |
| 19 |
# In order to do so, uncomment the following line. |
| 20 |
# You can also select to disable deprecated APIs only up to a certain version of Qt. |
| 21 |
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 |
| 22 |
|
| 23 |
INCLUDEPATH += /usr/include/KF6/KConfig |
| 24 |
INCLUDEPATH += /usr/include/KF6/KConfigGui |
| 25 |
INCLUDEPATH += /usr/include/KF6/KGlobalAccel |
| 26 |
LIBS += -L/usr/lib/$$QMAKE_HOST.arch-linux-gnu -lKF6GlobalAccel -lKF6ConfigGui |
| 27 |
|
| 28 |
SOURCES += \ |
| 29 |
../utils/kshortcututil.cpp \ |
| 30 |
kglobalshortcut.cpp \ |
| 31 |
libkyshortcut.cpp \ |
| 32 |
|
| 33 |
HEADERS += \ |
| 34 |
../utils/kshortcututil.h \ |
| 35 |
kglobalshortcut.h \ |
| 36 |
libkyshortcut.h \ |
| 37 |
libkykeymap.h |
| 38 |
|
| 39 |
headers.files = libkyshortcut.h libkykeymap.h |
| 40 |
headers.path = /usr/include/kysdk/desktop |
| 41 |
target.path = $$[QT_INSTALL_LIBS] |
| 42 |
INSTALLS += target headers |