mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
71 lines
1.4 KiB
Prolog
71 lines
1.4 KiB
Prolog
TEMPLATE = app
|
|
QT += qml quick quickcontrols2 widgets core webengine
|
|
CONFIG += c++17
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
TARGETPATH = ScreenPlayWindow
|
|
|
|
SOURCES += \
|
|
main.cpp \
|
|
src/basewindow.cpp \
|
|
|
|
HEADERS += \
|
|
src/basewindow.h \
|
|
|
|
win32 {
|
|
LIBS += -luser32
|
|
SOURCES += \
|
|
src/windowsdesktopproperties.cpp \
|
|
src/winwindow.cpp
|
|
|
|
HEADERS += \
|
|
src/windowsdesktopproperties.h \
|
|
src/winwindow.h
|
|
|
|
}
|
|
RESOURCES += \
|
|
SPWResources.qrc
|
|
|
|
|
|
INCLUDEPATH += \
|
|
$$PWD/../../ThirdParty/ \
|
|
$$PWD/../../src/ \
|
|
|
|
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
|
|
}
|
|
|
|
!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
|
|
}
|
|
|