9,20 → 9,37 |
TEMPLATE = app |
DESTDIR = ../Binary |
|
TRANSLATIONS = $${TARGET}_en.ts \ |
$${TARGET}_fr.ts |
|
debug { |
DEFINES += _BETA_ |
} |
|
OBJECTS_DIR = ../Binary/.build/QMK-Settings |
UI_DIR = ../Binary/.build/QMK-Settings |
MOC_DIR = ../Binary/.build/QMK-Settings |
RCC_DIR = ../Binary/.build/QMK-Settings |
RESOURCES += QMK-Settings.qrc |
# Mac specific stuff |
macx:{ |
LIBS += /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation |
ICON = ../Global/Images/Icons/$${TARGET}.icns |
QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/$${TARGET}.app/Contents/MacOS/. |
} |
|
# And other |
!macx:{ |
QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/. |
} |
|
OBJECTS_DIR = ../Binary/.build/$${TARGET} |
UI_DIR = ../Binary/.build/$${TARGET} |
MOC_DIR = ../Binary/.build/$${TARGET} |
RCC_DIR = ../Binary/.build/$${TARGET} |
RESOURCES += $${TARGET}.qrc |
|
SOURCES += main.cpp \ |
Dialogs/dlg_Main.cpp \ |
Dialogs/dlg_MotorMixer.cpp \ |
Dialogs/dlg_MotorTest.cpp \ |
Classes/cSettings.cpp |
|
HEADERS += Defines.h \ |
../Global/Global.h \ |
Dialogs/dlg_Main.h \ |
30,6 → 47,7 |
Dialogs/dlg_MotorTest.h \ |
Classes/cSettings.h \ |
TypeDefs.h |
|
FORMS += Dialogs/dlg_Main.ui \ |
Dialogs/dlg_MotorMixer.ui \ |
Dialogs/dlg_MotorTest.ui |