[Development] Qt 5.5.0 build issues on OS X : rpath

Ziller Eike Eike.Ziller at theqtcompany.com
Wed Sep 30 09:16:46 CEST 2015


> On Sep 29, 2015, at 8:40 PM, Oswald Buddenhagen <oswald.buddenhagen at theqtcompany.com> wrote:
> 
> On Tue, Sep 29, 2015 at 08:32:21AM -0700, Jake Petroules wrote:
>> If you set QMAKE_RPATHDIR to some value (including an empty value),
>> then qmake won't add the absolute path in the first place.
>> 
> note that things are different again in the 5.6 branch.
> 
> the only way to suppress the addition of the qt rpath (with an -rpath
> build of qt, which is the default) now is CONFIG+=no_qt_rpath.
> 
> for users outside qt, the qt rpath will be absolute by default. you can
> define an INSTALL for target which has the right location relative to
> $$[QT_INSTALL_DIR] and add CONFIG+=relative_qt_rpath to automatically
> have the right relative path added instead.
> 
> note that this also works on linux now.
> 
> and with https://codereview.qt-project.org/126762 , QMAKE_RPATHDIR will
> generically support loader-relative paths.

That’s great news!

-- 
Eike Ziller, Senior Software Engineer - The Qt Company GmbH
 
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Development mailing list