On 26/08/2010, at 3:59 AM, ext Chris Meyer wrote:

> I've partially solved/answered my own question with the following
> patch (this is also submitted as bug QTMOBILITY-465).
> 
> The patch removes the 'absolute_library_soname' from CONFIG. Why was
> that in there in the first place?

So the applications can find the libraries and plugins without modifying them 
so they can find the libraries and plugins.


> Is it possible to have this applied
> to the master?

Sorry, no. Because you can simply specify use the configure argument -prefix 
to specify where you need them installed. No need to manually copy them.


> 
> Once the project is built with this patch, the frameworks and plug-ins
> can be relocated to their correct locations. They also correctly work
> with macdeployqt after they are built with this patch and installed in
> the default locations (/Library/Frameworks and
> /Developer/Applications/Qt/plugins).
> 
> diff --git a/features/deploy.pri b/features/deploy.pri
> index 39ea766..3b52012 100644
> --- a/features/deploy.pri
> +++ b/features/deploy.pri
> @@ -30,7 +30,7 @@ contains(TEMPLATE,.*lib) {
> INSTALLS+=target headers
> 
> mac:contains(QT_CONFIG,qt_framework) {
> -    CONFIG += lib_bundle absolute_library_soname
> +    CONFIG += lib_bundle
>     FRAMEWORK_HEADERS.version = Versions
>     FRAMEWORK_HEADERS.files = $${PUBLIC_HEADERS}
>     FRAMEWORK_HEADERS.path = Headers
> 

> 
> On Tue, Aug 24, 2010 at 11:10 AM, Chris Meyer <[email protected]> wrote:
>> I'm using the latest git version of qt-mobility.
>> 
>> As a test, I do the following:
>> 
>> ./configure -modules multimedia
>> make
>> make install
>> 
>> The install directory contains the following subdirectories:
>> 
>> Library/Frameworks
>> include
>> plugins
>> translations
>> 
>> Each of these subdirectories needs to be copied to a specific location
>> to install on top of an existing 4.6.3 installation (for instance,
>> plugins goes to /Developer/Applications/Qt/).
>> 
>> I think the qt-mobility frameworks also need to be modified with
>> install_name_tool to point to the correct framework dependencies.
>> 
>> Is there a script to or some other description of how to install over
>> top of an existing 4.6.3 installation?
>> 
>> Are there plans to make an installer for mobility similar to what you
>> get for the standard qt installation (see Qt Libraries 4.6.3 for Mac
>> on http://qt.nokia.com/downloads/)?
>> 
> _______________________________________________
> Qt-mobility-feedback mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

--
Lorn Potter
Senior Software Engineer, Nokia, Qt Development Frameworks








_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to