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

Qt-interest Archive, June 2007
Rpath not Honored in Qt 4.3 configure


Message 1 in thread

I successfully built Qt 4.3 last night and "installed" it. Here is my 
configure line:

./configure -release -shared -fast -largefile -exceptions -stl 
-no-qt3support -R "@executable_path/../PlugIns" -optimized-qmake  
-prefix /Users/Shared/OpenSource/Qt43Build/

I used the -R flag so that the rpaths to the libraries would be set 
correctly for me. After doing a "make install" the rpath embedded in 
the framework is _still_ set to the "install" path even though I am 
over riding it in the configure step.

505:[mjackson@Thor:lib]$ otool -L 
/Users/Shared/OpenSource/Qt43Build/lib/QtCore.framework/Versions/4/QtCore
/Users/Shared/OpenSource/Qt43Build/lib/QtCore.framework/Versions/4/QtCore:
 

       
/Users/Shared/OpenSource/Qt43Build/lib/QtCore.framework/Versions/4/QtCore 
(compatibility version 4.3.0, current version 4.3.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current 
version 1.2.3)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, 
current version 88.3.6)
        /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
version 5.0.0)
        
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 
(compatibility version 1.0.0, current version 22.0.0)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, 
current version 7.4.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)

Is this a bug in the build system or the "user" (me) not interpreting 
the configure help correctly?

I want the rpaths set correctly so I can deploy me Qt applications more easily.

Thanks for any help
Mike Jackson

--
 [ signature omitted ]