| 1 |
QT -= core dbus |
| 2 |
#QT += KGlobalAccel KConfigGui |
| 3 |
|
| 4 |
CONFIG += c++17 console |
| 5 |
CONFIG -= app_bundle |
| 6 |
|
| 7 |
CONFIG += link_pkgconfig |
| 8 |
#直接编译 |
| 9 |
#PKGCONFIG += dconf \ |
| 10 |
# gio-2.0 \ |
| 11 |
# gsettings-qt6 |
| 12 |
#依赖库 |
| 13 |
PKGCONFIG += kysdk-shortcut |
| 14 |
# The following define makes your compiler emit warnings if you use |
| 15 |
# any Qt feature that has been marked deprecated (the exact warnings |
| 16 |
# depend on your compiler). Please consult the documentation of the |
| 17 |
# deprecated API in order to know how to port your code away from it. |
| 18 |
DEFINES += QT_DEPRECATED_WARNINGS |
| 19 |
|
| 20 |
# You can also make your code fail to compile if it uses deprecated APIs. |
| 21 |
# In order to do so, uncomment the following line. |
| 22 |
# You can also select to disable deprecated APIs only up to a certain version of Qt. |
| 23 |
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 |
| 24 |
|
| 25 |
SOURCES += \ |
| 26 |
main.cpp \ |
| 27 |
# ../libkyshortcut/kglobalshortcut.cpp \ |
| 28 |
# ../libkyshortcut/libkyshortcut.cpp \ |
| 29 |
# ../utils/kshortcututil.cpp |
| 30 |
|
| 31 |
HEADERS += \ |
| 32 |
# ../libkyshortcut/kglobalshortcut.h \ |
| 33 |
# ../libkyshortcut/libkykeymap.h \ |
| 34 |
# ../libkyshortcut/libkyshortcut.h \ |
| 35 |
# ../utils/kshortcututil.h |
| 36 |
|
| 37 |
# Default rules for deployment. |
| 38 |
qnx: target.path = /tmp/$${TARGET}/bin |
| 39 |
else: unix:!android: target.path = /opt/$${TARGET}/bin |
| 40 |
!isEmpty(target.path): INSTALLS += target |
| 41 |
|
| 42 |
|