So, You said. You have successfully build the mobility API on Mac, correct?

Can you run QMediaPlayer in the Simulator? I'm looking for the way to use in
on Mac as well.

I have success to get it work on Windows -
http://bananacoding.com/blog/archive/2010/08/23/qt-mobility-first-step-in-the-hard-part.aspx


Can you share me the result?

Best,
-Jirapong

On Thu, Aug 26, 2010 at 8:30 AM, Chris Meyer
<[email protected]<cmeyer1969%[email protected]>
> wrote:

> >> 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.
>
> If I use otool -L to look at QtCore, it clearly shows that the
> 'install' version does not have an absolute path name (see the first
> line output after the otool command below).
>
> Also, if you hard code the path in the framework, then macdeployqt
> does not work when asked to embed the frameworks (it searches for
> frameworks beginning with 'Qt').
>
> Why would you want different behavior for the mobility frameworks from
> the standard Qt 4.6.3 frameworks like QtCore?
>
>
> [~/Developer/Qt/qt-mobility] > otool -L
> /Library/Frameworks/QtCore.framework/QtCore
> /Library/Frameworks/QtCore.framework/QtCore:
>        QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0,
> current version 4.6.3)
>        /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.11)
>
>  
> /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)
>
>  /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
> (compatibility version 1.0.0, current version 18.0.0)
>
>  /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
> (compatibility version 150.0.0, current version 368.35.0)
> [~/Developer/Qt/qt-mobility] >
>
>
>
> On Wed, Aug 25, 2010 at 5:05 PM,  <[email protected]> wrote:
> >
> > 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]<cmeyer1969%[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
>
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to