GNOME Bugzilla – Bug 755100
qt: add build support for iOS/OSX
Last modified: 2015-10-02 12:41:11 UTC
See commit message.
Created attachment 311440 [details] [review] qt: add support for building on iOS/OSX There's still a number of build issues with Qt's libtool .la and pkgconfig files that have not been resolved. 1. The pkg-config files only point/link to/against the simulator versions (x86/x64 arch depending on installed Qt archs) 2. The libtool files place -framework arguments in dependency_libs rather than the more correct inherited_linker_flags. Has been successfully tested on the iOS simulator (with a severe memory leak).
Comment on attachment 311440 [details] [review] qt: add support for building on iOS/OSX Looks good. The leaks you talk about are in Qt and independent from our code? Did you report the pkg-config / libtool brokenness to the Qt people so they can fix their stuff?
(In reply to Sebastian Dröge (slomo) from comment #2) > qt: add support for building on iOS/OSX > > Looks good. The leaks you talk about are in Qt and independent from our code? Not sure yet. > Did you report the pkg-config / libtool brokenness to the Qt people so they > can fix their stuff? There's this old bug for the libtool frameworks issue https://bugreports.qt.io/browse/QTBUG-2390 which I commented on. For the iOS pkgconfig machine architecture issue: https://bugreports.qt.io/browse/QTBUG-48303
What's the status here?
Both OSX and iOS require modifications to the pkg-config/libtool files in order to build against correctly. As I could not repoen the closed libtool bug, I created a new one :/ https://bugreports.qt.io/browse/QTBUG-48575 Qt officially does not support using the pkg-config/libtool files on iOS so getting them to modify their build setup seems unlikely. That being said, for those that are feeling adventurous, I've pushed the required patch to build/use QT on OSX and iOS. commit 30194cc3682ad5a304f493cf558dc70a05bbd42a Author: Matthew Waters <matthew@centricular.com> Date: Tue Sep 15 03:14:37 2015 +1000 qt: add support for building on osx/ios Including: - Necessary configure checks - Necessary compile time platform checks - Necessary runtime qt iOS/OSX platform detection https://bugzilla.gnome.org/show_bug.cgi?id=755100