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:
parent
958b96ae9a
commit
19fadb0389
@ -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 += \
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user