1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Fix steam lib paths for macOS

This commit is contained in:
Dominik Louven 2018-11-27 20:08:46 +01:00
parent 958b96ae9a
commit 19fadb0389
2 changed files with 8 additions and 5 deletions

View File

@ -135,16 +135,18 @@ macx: {
LIBS += -L$$PWD/ThirdParty/steam/redistributable_bin/osx32/ -lsteam_api
DEPENDPATH += $$PWD/ThirdParty/steam/redistributable_bin/osx32
INCLUDEPATH += $$PWD/ThirdParty/steam/lib/osx32
DEPENDPATH += $$PWD/ThirdParty/steam/lib/osx32s
INCLUDEPATH += $$PWD/ThirdParty/steam/
DEPENDPATH += $$PWD/ThirdParty/steam/
LIBS += -L$$PWD/ThirdParty/steam/lib/osx32/ -lsdkencryptedappticket
install_it.files += ThirdParty\steam\redistributable_bin\osx32\libsteam_api.so
steam_data.files = steam_appid.txt
steam_data.files += steam_appid.txt
steam_data.path = Contents/MacOS
steam_data_lib.files += $$PWD/ThirdParty/steam/redistributable_bin/osx32/libsteam_api.dylib
steam_data_lib.path = Contents/MacOS/lib
QMAKE_BUNDLE_DATA += steam_data
QMAKE_BUNDLE_DATA += steam_data_lib
}
DISTFILES += \

View File

@ -17,6 +17,7 @@ void SteamWorkshop::initSteam()
m_steamErrorRestart = true;
}
//IF THE FAMILY SHARING IS ENABLED THIS WILL FAIL ! #13
if (!SteamAPI_Init()) {
qWarning() << "Could not init steam sdk!";
m_steamErrorAPIInit = true;