PDA

View Full Version : SFML (Simple Fast Multimedia Library) Help On Mac



steadi
7th January 2013, 19:13
Hello There,

I am using Qt Creator to create a crossplatform game. This game runs off SFML (a graphics library) and I can link it to my project on windows and linux using:


LIBS += -LC:/Path/To/SFML/Libs -lsfml-graphics


However, when I try and do the same on a mac, It does not work. The only difference I see between the windows and mac files is that windows uses .dll and mac uses .framework.

So, my question is How do I link a .framework file in my .pro file

If I try adding them using the add library dialog then I get a message telling me the file was too small.

Thanks in advance, I am really stuck
Matt