[Qt-creator] iOS dylib problem

Robert Bielik Robert.Bielik at dirac.com
Fri Mar 24 12:51:44 CET 2017


Thank you Eike!

That worked like a charm! 😊

Regards
/Robert

> -----Original Message-----
> From: Eike Ziller [mailto:Eike.Ziller at qt.io]
> Sent: den 24 mars 2017 12:46
> To: Robert Bielik <Robert.Bielik at dirac.com>
> Cc: qt-creator at qt-project.org
> Subject: Re: [Qt-creator] iOS dylib problem
> 
> 
> > On Mar 24, 2017, at 11:43 AM, Robert Bielik <Robert.Bielik at dirac.com>
> wrote:
> >
> > Hi all,
> >
> > Using Qt 5.8 I'm trying to get an iOS app running. I depend on a truckload of
> third party libs, all of which are packed together into a single dynamic library.
> But I have found no info, yet, on how to incorporate the dynamic lib into the
> iOS app (i.e. deployment into the .app folder).
> >
> > Hints are appreciated! 😊
> 
> I don’t have any iOS dylibs available, but I’d expect something like this should
> work:
> 
> - make sure your dylibs have installname “@rpath/mylib.dylib” or such (check
> first line of “otool -L /path/to/mylib.dylib”, if it is not, then change with
> “install_name_tool -id @rpath/mylib.dylib”)
> - add the following to the application .pro file
> 
> # make the app find the libs:
> QMAKE_RPATHDIR = @executable_path/Frameworks # deploy the libs:
> mylib.files = /path/to/mylib.dylib
> mylib.path = Frameworks
> QMAKE_BUNDLE_DATA += mylib
> 
> Br, Eike
> 
> > Regards
> > /Robert
> >
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> --
> Eike Ziller
> Principal Software Engineer
> 
> The Qt Company GmbH
> Rudower Chaussee 13
> D-12489 Berlin
> eike.ziller at qt.io
> http://qt.io
> Geschäftsfßhrer: Mika Pälsi,
> Juha Varelius, Mika Harjuaho
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg,
> HRB 144331 B



More information about the Qt-creator mailing list