Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2006
Re: Deploying on Mac - distributing Qt framework


Message 1 in thread

On Tue, Oct 31, Mike Jackson wrote:

> Yep.. This is a problem with the build of Qt and a Bug that someone (me
> maybe) needs to file..
> 
> The problem is that even though YOUR app says it is dependant on a library
> with the @executable_path... QtCore and QtGUI are NOT. When they were
> compiled they have "/usr/local/..." in their RPATH..
> 
> Do an otool -L 
> "/usr/local/Trolltech/Qt-4.2.0/lib/QtCore.framework/Versions/4/QtCore"
> 
> And see what you get.... You will have to write a script that changes all
> the rpaths of all the Qt Frameworks so that they have the
> @executable_path/.... Instead of what Qt assigns...
> 

Hm, thanks. I meanwhile found out that I overlooked exactly that part in 

http://doc.trolltech.com/4.2/deployment-mac.html

reading helps sometimes :-/

Right now it seems to work, even though QtGui still looks for QTGui in
/usr/local/Trolltech according to otool. We'll see...




Best,

        Uwe 

-- 
 [ signature omitted ]