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
|
|
|
|
2018-07-29 17:56:14 +02:00
|
|
|
msvc: LIBS += -luser32
|
2018-01-31 21:54:25 +01:00
|
|
|
TARGETPATH = ScreenPlayWindow
|
|
|
|
|
|
|
|
SOURCES += \
|
2018-02-22 15:22:10 +01:00
|
|
|
SPWmain.cpp \
|
2019-03-10 21:20:55 +01:00
|
|
|
#src/SPWmainwindow.cpp \
|
|
|
|
src/basewindow.cpp \
|
|
|
|
src/windowsdesktopproperties.cpp \
|
|
|
|
src/winwindow.cpp
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
HEADERS += \
|
2019-03-10 21:20:55 +01:00
|
|
|
#src/SPWmainwindow.h \
|
|
|
|
src/basewindow.h \
|
|
|
|
src/windowsdesktopproperties.h \
|
|
|
|
src/winwindow.h
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
RESOURCES += \
|
2018-02-22 15:22:10 +01:00
|
|
|
SPWResources.qrc
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
$$PWD/../../ThirdParty/ \
|
2018-09-06 13:57:36 +02:00
|
|
|
$$PWD/../../src/ \
|
2018-01-31 21:54:25 +01:00
|
|
|
|
2018-09-06 13:57:36 +02:00
|
|
|
include(../ScreenPlaySDK/Screenplaysdk.pri)
|
2018-09-20 15:43:08 +02:00
|
|
|
|
2018-11-26 20:37:48 +01: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
|
2018-11-26 20:37:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
!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
|
2018-08-20 15:18:56 +02:00
|
|
|
|
2018-12-15 21:30:41 +01:00
|
|
|
install_it.files += index.html \
|
2018-12-16 18:09:37 +01:00
|
|
|
|
2018-12-15 21:30:41 +01:00
|
|
|
INSTALLS += install_it
|
|
|
|
DISTFILES += \
|
|
|
|
index.html
|
2018-11-27 18:53:30 +01:00
|
|
|
}
|
|
|
|
|
2018-08-20 15:18:56 +02:00
|
|
|
|
2018-01-31 21:54:25 +01:00
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
2018-08-20 15:18:56 +02:00
|
|
|
QML_IMPORT_PATH =
|
2018-01-31 21:54:25 +01:00
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
QML_DESIGNER_IMPORT_PATH =
|
|
|
|
QT_QUICK_CONTROLS_STYLE = "Material"
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any feature of Qt which as been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
2018-09-06 13:57:36 +02:00
|
|
|
|
|
|
|
|