diff --git a/QxtGlobalShortcut.pri b/QxtGlobalShortcut.pri new file mode 100644 index 00000000..eb1a71fe --- /dev/null +++ b/QxtGlobalShortcut.pri @@ -0,0 +1,21 @@ +DEFINES += QXT_STATIC + +INCLUDEPATH += $$PWD/src/core +HEADERS += $$PWD/src/core/qxtglobal.h +SOURCES += $$PWD/src/core/qxtglobal.cpp + +INCLUDEPATH += $$PWD/src/widgets + +HEADERS += \ + $$PWD/src/widgets/qxtglobalshortcut.h + $$PWD/src/widgets/qxtglobalshortcut_p.h + +SOURCES += \ + $$PWD/src/widgets/qxtglobalshortcut.cpp + +unix:!macx:SOURCES += $$PWD/src/widgets/x11/qxtglobalshortcut_x11.cpp +macx:SOURCES += $$PWD/src/widgets/mac/qxtglobalshortcut_mac.cpp +win32:SOURCES += $$PWD/src/widgets/win/qxtglobalshortcut_win.cpp + +unix:!macx:QT += x11extras +macx:QMAKE_LFLAGS += -framework Carbon -framework CoreFoundation