2021-12-13 00:28:04 +01:00
|
|
|
QT += core gui multimedia
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
CONFIG += c++17
|
|
|
|
CONFIG += debug_info
|
|
|
|
LIBS += -lX11 -ldl
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
src/main.cpp \
|
|
|
|
src/mainwindow.cpp \
|
|
|
|
src/sound.cpp \
|
2021-12-13 14:48:43 +01:00
|
|
|
src/sounddevice.cpp \
|
|
|
|
src/soundbutton.cpp \
|
|
|
|
src/config.cpp \
|
2021-12-20 00:19:35 +01:00
|
|
|
src/editsample.cpp \
|
|
|
|
src/soundview.cpp \
|
|
|
|
src/samplereader.cpp \
|
2021-12-21 01:30:18 +01:00
|
|
|
src/buttonmanager.cpp \
|
2021-12-13 14:48:43 +01:00
|
|
|
Log/Log.cpp
|
2021-12-13 00:28:04 +01:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
include/mainwindow.h \
|
|
|
|
include/sound.h \
|
|
|
|
include/sounddevice.h \
|
2021-12-13 14:48:43 +01:00
|
|
|
include/soundbutton.h \
|
|
|
|
include/config.h \
|
2021-12-20 00:19:35 +01:00
|
|
|
include/editsample.h \
|
|
|
|
include/soundview.h \
|
|
|
|
include/samplereader.h \
|
2021-12-21 01:30:18 +01:00
|
|
|
include/buttonmanager.h \
|
|
|
|
miniaudio/miniaudio.h \
|
2021-12-13 14:48:43 +01:00
|
|
|
Log/Log.h
|
2021-12-13 00:28:04 +01:00
|
|
|
|
2021-12-13 01:23:03 +01:00
|
|
|
MOC_DIR = generated/
|
|
|
|
UI_DIR = ui/
|
|
|
|
OBJECTS_DIR = obj/
|
|
|
|
|
2021-12-13 00:28:04 +01:00
|
|
|
FORMS += \
|
2021-12-21 01:30:18 +01:00
|
|
|
ui/buttonmanager.ui \
|
2021-12-20 00:19:35 +01:00
|
|
|
ui/editsample.ui \
|
2021-12-13 00:28:04 +01:00
|
|
|
ui/mainwindow.ui
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
testqt_de_DE.ts
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/include/ \
|
2021-12-13 14:48:43 +01:00
|
|
|
$$PWD/miniaudio/ \
|
|
|
|
$$PWD/Log/
|
2021-12-13 00:28:04 +01:00
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
# Adding QxtGlobalShortcut
|
|
|
|
include(QxtGlobalShortcut/QxtGlobalShortcut.pri)
|