[Interest] [qt-iOS] How to specify a Framework as optional?

Till Oliver Knoll till.oliver.knoll at gmail.com
Thu Dec 4 08:35:15 CET 2014


> ...
>     LIBS += -framework Photos
> 
>     It works, but since Photos Framework was introduced in iOS 8.0, my app won't run in iOS 7.0

https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html

See at the bottom: 
  
-weak_framework <framework_name>

Cheers,
  Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141204/1e83110b/attachment.html>


More information about the Interest mailing list