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

100 lines
2.4 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 \
win32 {
2020-03-07 21:37:01 +01:00
include($$PWD/../Common/qt-breakpad/qt-breakpad.pri)
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
}
2020-04-20 16:35:46 +02:00
unix:!macx {
2020-01-30 16:32:24 +01:00
install_it.path = $${OUT_PWD}/
2020-03-27 16:18:15 +01:00
LIBS += -lX11
2020-04-20 16:35:46 +02:00
SOURCES += \
src/linuxwindow.cpp
HEADERS += \
src/linuxwindow.h
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