mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
75 lines
1.8 KiB
Prolog
75 lines
1.8 KiB
Prolog
TEMPLATE = app
|
|
QT += qml quick quickcontrols2 widgets core webengine
|
|
CONFIG += c++17
|
|
#CONFIG += qtquickcompiler
|
|
msvc: LIBS += -luser32
|
|
TARGETPATH = ScreenPlayWindow
|
|
|
|
SOURCES += \
|
|
SPWmain.cpp \
|
|
src/SPWmainwindow.cpp
|
|
|
|
HEADERS += \
|
|
src/SPWmainwindow.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
|
|
}
|
|
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
QML_IMPORT_PATH =
|
|
|
|
# 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
|
|
|
|
|
|
|