mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
81 lines
1.5 KiB
Prolog
81 lines
1.5 KiB
Prolog
TEMPLATE = app
|
|
QT += qml quick quickcontrols2 widgets core webengine
|
|
CONFIG += c++17
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
TARGETPATH = ScreenPlayWallpaper
|
|
|
|
|
|
RESOURCES += \
|
|
SPWResources.qrc
|
|
|
|
|
|
SOURCES += \
|
|
main.cpp \
|
|
src/basewindow.cpp \
|
|
|
|
HEADERS += \
|
|
src/basewindow.h \
|
|
|
|
unix{
|
|
SOURCES += \
|
|
src/linuxwindow.cpp
|
|
|
|
HEADERS += \
|
|
src/linuxwindow.h
|
|
}
|
|
|
|
win32 {
|
|
LIBS += -luser32
|
|
SOURCES += \
|
|
src/windowsdesktopproperties.cpp \
|
|
src/winwindow.cpp
|
|
|
|
HEADERS += \
|
|
src/windowsdesktopproperties.h \
|
|
src/winwindow.h
|
|
}
|
|
|
|
include(../ScreenPlaySDK/ScreenPlaySDK.pri)
|
|
|
|
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
|
|
|
|
SOURCES += \
|
|
src/macwindow.cpp
|
|
|
|
HEADERS += \
|
|
src/macwindow.h
|
|
}
|
|
|
|
!macx {
|
|
CONFIG(debug, debug|release) {
|
|
LIBS += -lScreenPlaySDKd
|
|
install_it.path = $${OUT_PWD}/debug/
|
|
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/debug
|
|
} else {
|
|
LIBS += -lScreenPlaySDK
|
|
install_it.path = $${OUT_PWD}/release/
|
|
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/release
|
|
}
|
|
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK
|
|
}
|
|
|
|
install_it.files += index.html \
|
|
|
|
INSTALLS += install_it
|
|
DISTFILES += \
|
|
index.html
|