1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +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)
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
macx: {
QMAKE_LIBDIR += $$OUT_PWD/
install_it.path = $${OUT_PWD}/../ScreenPlaySDK
}
!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
}
# Additional import path used to resolve QML modules just for Qt Quick Designer