Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.7, 6.8.0
Description
qmake automatically scans the Info.plist file to see if the project needs to link to libqiosnsphotolibrarysupport.a, and does the linking automatically if required: https://doc.qt.io/qt-6/ios-platform-notes.html#native-image-picker
CMake currently lacks such a mechanism, so users would need to manually link the plugin:
qt_import_plugins(mytarget INCLUDE Qt6::QIosOptionalPlugin_NSPhotoLibraryPlugin)
(source: semlanik at https://bugreports.qt.io/browse/QTBUG-130845?focusedId=838080&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-838080 )
This should be documented.
The usage of this command is similar to what users need to do for FFmpeg libraries on iOS:
https://doc.qt.io/qt-6/qtmultimedia-apple.html#use-of-ffmpeg-libraries-on-ios
Attachments
Issue Links
- relates to
-
QTBUG-130863 [Doc][iOS] Native image picker docs should focus on Qt.Quick.Dialogs.FileDialog rather than Qt.labs.platform.FileDialog
- Reported
- replaces
-
QTBUG-130845 [Reg 6.7 -> 6.8.0][iOS] CMake projects can no longer manually link to libqiosnsphotolibrarysupport.a
- Closed
- split from
-
QTBUG-120676 FileDialog does not open when pre-set to open Pictures Library in iOS
- Open