2018-01-31 21:54:25 +01:00
|
|
|
TEMPLATE = app
|
2018-09-13 20:23:12 +02:00
|
|
|
QT += qml quick quickcontrols2 widgets core webengine
|
2018-01-31 21:54:25 +01:00
|
|
|
CONFIG += c++17
|
2019-03-10 21:20:55 +01:00
|
|
|
|
2019-03-27 18:38:36 +01:00
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
2019-07-26 13:08:27 +02:00
|
|
|
TARGETPATH = ScreenPlayWallpaper
|
2018-01-31 21:54:25 +01:00
|
|
|
|
2020-03-06 12:54:10 +01:00
|
|
|
include($$PWD/../Common/qt-breakpad/qt-breakpad.pri)
|
|
|
|
|
2019-04-04 17:19:05 +02:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
SPWResources.qrc
|
|
|
|
|
|
|
|
|
2018-01-31 21:54:25 +01:00
|
|
|
SOURCES += \
|
2019-03-24 16:52:07 +01:00
|
|
|
main.cpp \
|
2019-03-10 21:20:55 +01:00
|
|
|
src/basewindow.cpp \
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
HEADERS += \
|
2019-03-10 21:20:55 +01:00
|
|
|
src/basewindow.h \
|
2018-01-31 21:54:25 +01:00
|
|
|
|
2019-04-01 13:42:35 +02:00
|
|
|
unix{
|
2019-04-04 17:19:05 +02:00
|
|
|
SOURCES += \
|
|
|
|
src/linuxwindow.cpp
|
2019-04-01 13:42:35 +02:00
|
|
|
|
2019-04-04 17:19:05 +02:00
|
|
|
HEADERS += \
|
|
|
|
src/linuxwindow.h
|
2019-04-01 13:42:35 +02:00
|
|
|
}
|
2019-04-04 17:19:05 +02:00
|
|
|
|
2019-03-27 18:38:36 +01:00
|
|
|
win32 {
|
|
|
|
LIBS += -luser32
|
|
|
|
SOURCES += \
|
|
|
|
src/windowsdesktopproperties.cpp \
|
|
|
|
src/winwindow.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
src/windowsdesktopproperties.h \
|
|
|
|
src/winwindow.h
|
2020-01-18 14:20:39 +01:00
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
2020-01-18 14:33:33 +01:00
|
|
|
install_it.path = $${OUT_PWD}/debug/
|
2020-01-18 14:20:39 +01:00
|
|
|
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 {
|
2020-01-18 14:33:33 +01:00
|
|
|
install_it.path = $${OUT_PWD}/release/
|
2020-01-18 14:20:39 +01:00
|
|
|
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 \
|
|
|
|
}
|
2019-03-27 18:38:36 +01:00
|
|
|
}
|
2018-01-31 21:54:25 +01:00
|
|
|
|
2019-04-01 13:03:49 +02:00
|
|
|
include(../ScreenPlaySDK/ScreenPlaySDK.pri)
|
2018-09-20 15:43:08 +02:00
|
|
|
|
2019-04-04 17:19:05 +02:00
|
|
|
macx {
|
2018-12-15 21:30:41 +01:00
|
|
|
QMAKE_LIBDIR += $$OUT_PWD/
|
|
|
|
install_it.path = $${OUT_PWD}/../ScreenPlaySDK
|
|
|
|
|
|
|
|
html_data.files = index.html
|
|
|
|
html_data.path = Contents/MacOS
|
|
|
|
QMAKE_BUNDLE_DATA += html_data
|
|
|
|
|
|
|
|
QMAKE_LFLAGS += -framework Cocoa
|
|
|
|
SOURCES += src/macintegration.cpp
|
|
|
|
HEADERS += src/macintegration.h \
|
|
|
|
src/macbridge.h
|
|
|
|
OBJECTIVE_SOURCES += src/MacBridge.mm
|
2019-04-04 17:19:05 +02:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
src/macwindow.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
src/macwindow.h
|
2018-11-26 20:37:48 +01:00
|
|
|
}
|
|
|
|
|
2020-02-08 13:55:34 +01:00
|
|
|
unix {
|
2020-01-30 16:32:24 +01:00
|
|
|
|
|
|
|
install_it.path = $${OUT_PWD}/
|
|
|
|
|
2018-11-26 20:37:48 +01:00
|
|
|
CONFIG(debug, debug|release) {
|
2020-01-30 16:32:24 +01:00
|
|
|
install_it.files += \
|
|
|
|
$$PWD/../Common/vcpkg/installed/x64-linux/debug/bin/libcrypto-1_1-x64.so \
|
|
|
|
$$PWD/../Common/vcpkg/installed/x64-linux/debug/bin/libssl-1_1-x64.so \
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
install_it.files += \
|
|
|
|
$$PWD/../Common/vcpkg/installed/x64-linux/bin/libcrypto-1_1-x64.so \
|
|
|
|
$$PWD/../Common/vcpkg/installed/x64-linux/bin/libssl-1_1-x64.so \
|
|
|
|
}
|
2018-11-27 18:53:30 +01:00
|
|
|
}
|
|
|
|
|
2019-04-04 17:19:05 +02:00
|
|
|
install_it.files += index.html \
|
|
|
|
|
|
|
|
INSTALLS += install_it
|
|
|
|
DISTFILES += \
|
|
|
|
index.html
|