diff options
author | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-01-28 10:07:41 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-02-15 11:11:59 +0000 |
commit | bcda3980016e98e0078fedb83e77047e296c8713 (patch) | |
tree | c34907cc0c2b9e83405a889192920028bd9e3ade /src/plugins/platforms/ios/ios.pro | |
parent | 66a61c7d2cfc55eca56c410489f84ab3a2a8ac16 (diff) |
iOS: add native file dialog for selecing photos/assets
This will add a file dialog backend on iOS. The implementation
will check if a dialogs initial directory points to the system
picture location, and if so, present a UIImagePickerController.
Otherwise it will return false upon show, which causes
QFileDialog to use the widget based version as fallback.
Change-Id: I276b630911652b6d28f60763decc7ec38f00c817
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/ios/ios.pro')
-rw-r--r-- | src/plugins/platforms/ios/ios.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/platforms/ios/ios.pro b/src/plugins/platforms/ios/ios.pro index 2da1c9b41e..bf7849b740 100644 --- a/src/plugins/platforms/ios/ios.pro +++ b/src/plugins/platforms/ios/ios.pro @@ -29,7 +29,8 @@ OBJECTIVE_SOURCES = \ qiosplatformaccessibility.mm \ qiostextresponder.mm \ qiosmenu.mm \ - qiosfileengineassetslibrary.mm + qiosfileengineassetslibrary.mm \ + qiosfiledialog.mm HEADERS = \ qiosintegration.h \ @@ -52,7 +53,8 @@ HEADERS = \ qiostextresponder.h \ qiosmenu.h \ qiosfileenginefactory.h \ - qiosfileengineassetslibrary.h + qiosfileengineassetslibrary.h \ + qiosfiledialog.h OTHER_FILES = \ quiview_textinput.mm \ |