2018-01-31 21:54:25 +01:00
|
|
|
TEMPLATE = app
|
2018-02-14 10:21:15 +01:00
|
|
|
QT += qml quick av widgets quickcontrols2 widgets
|
2018-01-31 21:54:25 +01:00
|
|
|
CONFIG += c++17
|
|
|
|
|
|
|
|
|
|
|
|
TARGETPATH = ScreenPlayWindow
|
|
|
|
|
|
|
|
SOURCES += \
|
2018-02-22 15:22:10 +01:00
|
|
|
SPWmain.cpp \
|
|
|
|
src/SPWmainwindow.cpp
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
HEADERS += \
|
2018-02-22 15:22:10 +01:00
|
|
|
src/SPWmainwindow.h
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
RESOURCES += \
|
2018-02-22 15:22:10 +01:00
|
|
|
SPWResources.qrc
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
$$PWD/../../ThirdParty/ \
|
|
|
|
$$PWD/../../src/\
|
|
|
|
|
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
install_it.path = $${OUT_PWD}/debug/
|
|
|
|
} else {
|
|
|
|
install_it.path = $${OUT_PWD}/release/
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH += [QtAVSourceCodeDir]/qml
|
2018-02-12 15:35:08 +01:00
|
|
|
QML_IMPORT_PATH += "C:\msys64\mingw64\share\qt5\qml"
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
QML_DESIGNER_IMPORT_PATH =
|
|
|
|
QT_QUICK_CONTROLS_STYLE = "Material"
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any feature of Qt which as 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
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
INCLUDEPATH += "C:\msys64\mingw64\include"
|
|
|
|
}
|
|
|
|
|
2018-02-22 12:09:07 +01:00
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$${OUT_PWD}/../ScreenPlaySDK/release -lScreenPlaySDK.dll
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$${OUT_PWD}/../ScreenPlaySDK/debug -lScreenPlaySDKd.dll
|