1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 16:32:33 +02:00

Fix library paths for widgets under macos

This commit is contained in:
Dominik Louven 2018-12-03 16:54:47 +01:00
parent 855283d1ba
commit 3c90588220

View File

@ -25,16 +25,24 @@ INCLUDEPATH += \
include(../ScreenPlaySDK/Screenplaysdk.pri) include(../ScreenPlaySDK/Screenplaysdk.pri)
CONFIG(debug, debug|release) { macx: {
LIBS += -lScreenplaysdkd QMAKE_LIBDIR += $$OUT_PWD/
install_it.path = $${OUT_PWD}/debug/ install_it.path = $${OUT_PWD}/../ScreenPlaySDK
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/debug }
} else {
LIBS += -lScreenplaysdk !macx: {
install_it.path = $${OUT_PWD}/release/ CONFIG(debug, debug|release) {
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/release LIBS += -lScreenplaysdkd
} install_it.path = $${OUT_PWD}/debug/
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK 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
}
# Additional import path used to resolve QML modules just for Qt Quick Designer # Additional import path used to resolve QML modules just for Qt Quick Designer