SFML community forums
Help => Audio => Topic started by: MaximumTrainer on May 12, 2015, 01:38:30 am
-
I am using SFML 2.1 and wanted to upgrade to 2.3.
I'm using SFML just for audio playback inside a Qt software. (maximumtrainer.com)
For 2.1, I just had to have sfml-audio and sfml-system + sndfile.framework in order to use it.
Now it seems there is more linked libs to sfml-audio (list at the bottom)
Wondering if it's worth it to upgrade to 2.3 on OSX, I upgraded on Windows but I'm having problem with OSX dependencies using @rpath. With 2.1 deployment was easy, but now I have a bunch of install_name_tool to do. Is there an easy way to integrate 2.3 with Qt that i'm missing?
Thank you for the great framework, I wish it was integrated in Qt instead of the audio they use.
@rpath/libsfml-audio.2.3.dylib (compatibility version 2.3.0, current version 2.3.0)
@rpath/libsfml-system.2.3.dylib (compatibility version 2.3.0, current version 2.3.0)
@rpath/../Frameworks/OpenAL.framework/Versions/A/OpenAL (compatibility version 1.0.0, current version 1.16.0)
@rpath/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc (compatibility version 3.0.0, current version 3.10.0)
@rpath/../Frameworks/vorbisfile.framework/Versions/A/vorbisfile (compatibility version 7.0.0, current version 7.6.0)
@rpath/../Frameworks/vorbis.framework/Versions/A/vorbis (compatibility version 5.0.0, current version 5.7.0)
@rpath/../Frameworks/ogg.framework/Versions/A/ogg (compatibility version 9.0.0, current version 9.2.0)
@rpath/../Frameworks/FLAC.framework/Versions/A/FLAC (compatibility version 12.0.0, current version 12.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 19.0.0)
-
Finally learned what RPATH is, you can set it in Qt .pro file this way:
#set RPATH (place to look for .dylib & framework by default)
QMAKE_RPATHDIR += @executable_path/../Frameworks
QMAKE_RPATHDIR += @executable_path/lib
Still not sure if all the 2.3 frameworks used are compliant LGPL like it was in 2.1?
Good documentation, found my answer : http://www.sfml-dev.org/license.php
Merci!
-
Now using 2.3 in Windows and OSX and working perfectly.
I was thinking, would it be possible to have some arrangement with Qt and become affiliated? I'm sure they could drop their QAudio module and use SFML, it would be a great thing for Qt and for SFML
Thanks!
-
Go talk to Qt and Co about that one, cause there is nothing SFML can do that would make that happen - and we couldn't exactly stop them either.
Realistically Qt would never drop their own module for SFML.