PDA

View Full Version : How To Link OSX Libraries In .Pro File?



steadi
6th January 2013, 19:32
Hello There,

This is a pretty basic question but I am new to Mac OSX. I have downloaded SFML 1.6 for mac and I am currently trying to link the frameworks in it's lib folder to Qt Creator via the .pro file.

Currently, I am using the following code to link the SFML framework(s) to my .pro file:


INCLUDEPATH = /Users/jimcarter/Desktop/SFML/include
LIBS += -F/Users/jimcarter/Desktop/SFML/lib -framework sfml-graphics


However, when I try and compile this, I get the following error: :-1: error: in /Users/jimcarter/Desktop/SFML/lib/sfml-graphics.framework/sfml-graphics, file too small

What am I doing wrong here?

Thanks in Advance,
Matt