2018-11-21 21:07:04 +01:00
|
|
|
QT += quick qml quickcontrols2 core widgets gui
|
2018-10-26 19:28:40 +02:00
|
|
|
CONFIG += c++17
|
2018-07-29 17:56:14 +02:00
|
|
|
CONFIG += qtquickcompiler
|
2018-03-08 22:03:05 +01:00
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
SOURCES += \
|
2019-03-24 16:52:07 +01:00
|
|
|
main.cpp \
|
|
|
|
src/widgetwindow.cpp
|
2018-03-08 22:03:05 +01:00
|
|
|
|
2019-03-27 18:38:36 +01:00
|
|
|
HEADERS += \
|
|
|
|
src/widgetwindow.h
|
|
|
|
|
2018-03-08 22:03:05 +01:00
|
|
|
RESOURCES += \
|
|
|
|
SPWidgetResources.qrc
|
|
|
|
|
2019-04-01 13:03:49 +02:00
|
|
|
include(../ScreenPlaySDK/ScreenPlaySDK.pri)
|
2018-11-24 14:28:02 +01:00
|
|
|
|
2020-01-18 14:20:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
install_it.files += \
|
|
|
|
$$PWD/../Common/vcpkg/installed/x64-windows/debug/bin/libcrypto-1_1-x64.dll \
|
|
|
|
$$PWD/../Common/vcpkg/installed/x64-windows/debug/bin/libssl-1_1-x64.dll \
|
|
|
|
|
|
|
|
} else {
|
|
|
|
install_it.files += \
|
|
|
|
$$PWD/../Common/vcpkg/installed/x64-windows/bin/libcrypto-1_1-x64.dll \
|
|
|
|
$$PWD/../Common/vcpkg/installed/x64-windows/bin/libssl-1_1-x64.dll \
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-12-03 16:54:47 +01:00
|
|
|
macx: {
|
2019-03-27 18:38:36 +01:00
|
|
|
QMAKE_LIBDIR += $$OUT_PWD/
|
2018-12-03 16:54:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
!macx: {
|
|
|
|
CONFIG(debug, debug|release) {
|
2019-04-04 17:19:05 +02:00
|
|
|
LIBS += -lScreenPlaySDKd
|
2018-12-03 16:54:47 +01:00
|
|
|
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/debug
|
|
|
|
} else {
|
2019-04-04 17:19:05 +02:00
|
|
|
LIBS += -lScreenPlaySDK
|
2018-12-03 16:54:47 +01:00
|
|
|
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/release
|
|
|
|
}
|
|
|
|
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK
|
|
|
|
}
|