63 lines
1.7 KiB
Prolog
63 lines
1.7 KiB
Prolog
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
CONFIG += c++17
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
SOURCES += \
|
|
QKeySender/qkeysender.cpp \
|
|
QtImprovements/qsettingsplus.cpp \
|
|
Widgets/applicationinfowidget.cpp \
|
|
Widgets/qdialbutton.cpp \
|
|
Widgets/qmacrobutton.cpp \
|
|
Widgets/qprocesslistitem.cpp \
|
|
Widgets/qratiobutton.cpp \
|
|
WindowFinder/windowfinder.cpp \
|
|
main.cpp \
|
|
qmacrobindswindow.cpp \
|
|
qmacrokeysmanager.cpp \
|
|
windowfinderdialogue.cpp
|
|
|
|
HEADERS += \
|
|
QKeySender/qkeysender.h \
|
|
QtImprovements/qsettingsplus.h \
|
|
Widgets/applicationinfowidget.h \
|
|
Widgets/qdialbutton.h \
|
|
Widgets/qmacrobutton.h \
|
|
Widgets/qprocesslistitem.h \
|
|
Widgets/qratiobutton.h \
|
|
WindowFinder/win32/windowfinderkeymap.h \
|
|
WindowFinder/windowfinder.h \
|
|
qmacrobindswindow.h \
|
|
qmacrokeysmanager.h \
|
|
windowfinderdialogue.h
|
|
|
|
FORMS += \
|
|
Widgets/applicationinfowidget.ui \
|
|
qmacrobindswindow.ui \
|
|
windowfinderdialogue.ui
|
|
|
|
TRANSLATIONS += \
|
|
MacroBinds_en_GB.ts
|
|
CONFIG += lrelease
|
|
CONFIG += embed_translations
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
win32: LIBS += -lUser32
|
|
#win32: LIBS += -lGdi32
|
|
win32: LIBS += -L$$PWD/libs/winx64-vs2019/ -lhidapi
|
|
win32: LIBS += -L"D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\lib\x64"
|
|
|
|
INCLUDEPATH += $$PWD/libs/include
|
|
DEPENDPATH += $$PWD/libs/include
|
|
|
|
DEFINES += _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING=1
|