-
Notifications
You must be signed in to change notification settings - Fork 0
/
GstTest.pro
73 lines (35 loc) · 1.67 KB
/
GstTest.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
QT += core gui network concurrent
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++20
# 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 += \
GstreamerThread.cpp \
main.cpp \
MainWindow.cpp
HEADERS += \
GstreamerThread.h \
MainWindow.h
FORMS += \
MainWindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
DEFINES += ARCH='\\"64-Bit\\"'
INCLUDEPATH += "C:/gstreamer/1.0/msvc_x86_64/include/gstreamer-1.0"
INCLUDEPATH += "C:/gstreamer/1.0/msvc_x86_64/include/glib-2.0"
INCLUDEPATH += "C:/gstreamer/1.0/msvc_x86_64/lib/glib-2.0/include"
INCLUDEPATH += "C:/gstreamer/1.0/msvc_x86_64/include"
INCLUDEPATH += "C:/gstreamer/1.0/msvc_x86_64/lib/gstreamer-1.0"
LIBS += -LC:/gstreamer/1.0/msvc_x86_64/bin
LIBS += -LC:/gstreamer/1.0/msvc_x86_64/lib/gstreamer-1.0
LIBS += -LC:/gstreamer/1.0/msvc_x86_64/lib
LIBS += -lgstapp-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl \
-lglib-2.0 -lgstallocators-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgstgl-1.0 -lgstvideo-1.0 \
-lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 \
-lavformat -lavcodec -lavutil -lffi -lgmodule-2.0
# --------------------------------- PRE PROCESSOR VARIABLES ---------------------------------
# Use this for GPU accelerated h264 decoding. Strangely the d3d11h264dec uses MORE CPU than avdec_h264
# DEFINES += USE_GPU_ACCEL