View Full Version : connecting 2 dylib files

20th November 2006, 14:55

I have an application that uses both qt-mt.3.dylib and qwt.4.dylib. I have followed instructions given here (http://doc.trolltech.com/qq/qq09-mac-deployment.html) and tried to deploy the app but since qwt.4.dylib also needs qt-mt.3.dylib I am not able to run the app.

I tried using similar commands to link the two files but could not.

Can someone please tell me how I can link Qt to Qwt ?

Thanks a lot.

22nd November 2006, 12:52
Any ideas on this one ?

I get the following error when trying to run the app

/Users/sj/Documents/algebrator\#2.app/Contents/MacOS/algebrator; exit
Welcome to Darwin!
:~ sj$ /Users/sj/Documents/algebrator\#2.app/Contents/MacOS/algebrator; exit
dyld: Library not loaded: libqt-mt.3.dylib
Referenced from: /Users/sj/Documents/algebrator#2.app/Contents/MacOS/../Frameworks/libqwt.4.dylib
Reason: image not found
Trace/BPT trap
[Process completed]

Please help. I am a complete newbie on Mac.
Thanks a lot.