1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 11:02:29 +01:00
ScreenPlay/ScreenPlayWallpaper/ScreenPlayWallpaper.pro

98 lines
2.3 KiB
Prolog
Raw Normal View History

TEMPLATE = app
2018-09-13 20:23:12 +02:00
QT += qml quick quickcontrols2 widgets core webengine
CONFIG += c++17
DEFINES += QT_DEPRECATED_WARNINGS
TARGETPATH = ScreenPlayWallpaper
2019-04-04 17:19:05 +02:00
RESOURCES += \
SPWResources.qrc
SOURCES += \
main.cpp \
src/basewindow.cpp \
HEADERS += \
src/basewindow.h \
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
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) {
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 {
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-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 {
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
}
2019-04-04 17:19:05 +02:00
!macx {
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