diff --git a/libs/KDMacTouchBar b/libs/KDMacTouchBar new file mode 160000 index 00000000..636c1213 --- /dev/null +++ b/libs/KDMacTouchBar @@ -0,0 +1 @@ +Subproject commit 636c121355ed6610640d9bb28840acb389210ad0 diff --git a/libs/Libraries.pri b/libs/Libraries.pri index 73d84680..f374f15b 100644 --- a/libs/Libraries.pri +++ b/libs/Libraries.pri @@ -35,3 +35,14 @@ include($$PWD/qtcsv/qtcsv.pri) include($$PWD/qmqtt/qmqtt.pri) include($$PWD/CuteLogger/CuteLogger.pri) include($$PWD/QSimpleUpdater/QSimpleUpdater.pri) + +macx* { + DEFINES += KDMACTOUCHBAR_BUILD_KDMACTOUCHBAR_SRC + LIBS += -framework Cocoa + INCLUDEPATH += $$PWD/KDMacTouchBar/src + SOURCES += \ + $$PWD/KDMacTouchBar/src/kdmactouchbar.mm + HEADERS += \ + $$PWD/KDMacTouchBar/src/kdmactouchbar.h \ + $$PWD/KDMacTouchBar/src/kdmactouchbar_global.h +}