forked from JFF-Bohdan/qcodec2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qcodec2_gui.pro
50 lines (37 loc) · 963 Bytes
/
qcodec2_gui.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#-------------------------------------------------
# qcodec2 GUI example by Bohdan Danishevsky (2017)
#-------------------------------------------------
QT *= core gui multimedia
DEFINES *= QT_NO_CAST_FROM_ASCII
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qcodec2
TEMPLATE = app
CONFIG *= c++11
DEPENDPATH *= \
$$PWD/src/qcodec2
INCLUDEPATH *= \
$$PWD/src/qcodec2
SOURCES *= \
$$PWD/src/gui/mainwindow.cpp \
$$PWD/src/qcodec2_gui_main.cpp
HEADERS *= \
$$PWD/src/gui/mainwindow.h
RESOURCES *= \
$$PWD/res/qcodec2_gui.qrc
FORMS *= \
$$PWD/src/gui/mainwindow.ui
#for application icon
win32 {
RC_FILE = $$PWD/res/qcodec2_gui.rc
}
#including headers for codec2 library
win32 {
INCLUDEPATH *= $$PWD/src/include
LIBS += -L$$PWD/codec2-lib
}
include($$PWD/src/qcodec2/qcodec2.pri)
UI_DIR = build
MOC_DIR = build
RCC_DIR = build
OBJECTS_DIR = build
mytarget.commands += $${QMAKE_MKDIR} build