-
Notifications
You must be signed in to change notification settings - Fork 286
/
OpenLive.pro
77 lines (63 loc) · 1.55 KB
/
OpenLive.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#-------------------------------------------------
#
# Project created by QtCreator 2019-09-04T11:52:50
#
#-------------------------------------------------
QT += core gui
CONFIG += c++11
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SDKPATHNAME=libs
SDKLIBPATHNAME=x86
SDKDLLPATHNAME=x86
!contains(QMAKE_TARGET.arch, x86_64) {
SDKLIBPATHNAME=x86
SDKDLLPATHNAME=x86
} else {
SDKLIBPATHNAME=x86_64
SDKDLLPATHNAME=x86_64
}
TARGET = OpenLive
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
agoraconfig.cpp \
roomsettings.cpp \
agoraobject.cpp \
enterroom.cpp \
inroom.cpp \
agoraqtjson.cpp
HEADERS += mainwindow.h \
stdafx.h \
agoraconfig.h \
roomsettings.h \
agoraobject.h \
enterroom.h \
inroom.h \
agoraqtjson.h
FORMS += mainwindow.ui \
roomsettings.ui \
enterroom.ui \
inroom.ui
RC_FILE = openlive.rc
RESOURCES += \
openlive.qrc
DISTFILES += \
openlive.rc
exists( $$PWD/$${SDKPATHNAME}) {
AGORASDKPATH = $$PWD/$${SDKPATHNAME}
AGORASDKDLLPATH = .\\$${SDKPATHNAME}\\$${SDKDLLPATHNAME}
} else {
AGORASDKPATH = $$PWD/../../$${SDKPATHNAME}
AGORASDKDLLPATH =..\\..\\$${SDKPATHNAME}\\$${SDKDLLPATHNAME}
}
win32: {
INCLUDEPATH += $${AGORASDKPATH}/include
LIBS += -L$${AGORASDKPATH}/$${SDKLIBPATHNAME} -lagora_rtc_sdk
LIBS += User32.LIB
CONFIG(debug, debug|release) {
QMAKE_POST_LINK += copy $${AGORASDKDLLPATH}\*.dll .\Debug
} else {
QMAKE_POST_LINK += copy $${AGORASDKDLLPATH}\*.dll .\Release
QMAKE_POST_LINK += && windeployqt Release\OpenLive.exe
}
}