> On Mar 24, 2017, at 11:43 AM, Robert Bielik <robert.bie...@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@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.zil...@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 _______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator