blob: 2d8ff031da7423c38c9ada3ff74aabfde1eee048 (
plain)
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
|
# This is a qmake project file, provided as an example on how to use qmake with QtGStreamer.
TEMPLATE = app
TARGET = voip
# produce nice compilation output
CONFIG += silent
# Tell qmake to use pkg-config to find QtGStreamer.
CONFIG += link_pkgconfig
# Now tell qmake to link to QtGStreamer and also use its include path and Cflags.
contains(QT_VERSION, ^4\\..*) {
PKGCONFIG += QtGStreamer-0.10 QtGStreamerUi-0.10
}
contains(QT_VERSION, ^5\\..*) {
PKGCONFIG += Qt5GStreamer-0.10 Qt5GStreamerUi-0.10
QT += widgets
}
# Recommended if you are using g++ 4.5 or later. Must be removed for other compilers.
#QMAKE_CXXFLAGS += -std=c++0x
# Recommended, to avoid possible issues with the "emit" keyword
# You can otherwise also define QT_NO_EMIT, but notice that this is not a documented Qt macro.
DEFINES += QT_NO_KEYWORDS
# Input
FORMS += voip.ui
SOURCES += main.cpp
|