How can I compile and run Qt programs using Qwt on Mac OS X?
I always get an error telling me that it can't find libqwt.dylib
. For what I have understood from my googling it won't help to set DYLD_LIBRARY_PATH
in environment.plist
since Apple has disabled that due to security reasons so how am I supposed to do it (without manually copying the lib to my .app for every recompile)?
I have tried both qmake -spec macx-g++
and qmake
without any spec. The lib is in /usr/local/qwt/lib
at the moment. Should I move it to some system path manually or is there a better way to do it (by using otool and install_name_tool magics)?