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

2014-12-04 Thread Liang Jian
It works, thank you very much! On Thu, Dec 4, 2014 at 3:35 PM, Till Oliver Knoll < till.oliver.kn...@gmail.com> wrote: > > ... > > 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.appl

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

2014-12-03 Thread Till Oliver Knoll
> ... > 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 Ch

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

2014-12-03 Thread Liang Jian
Hello everyone, I want to use Photos Framework in a Qt project, so I specify the Framework in *.pro file as below: LIBS += -framework Photos It works, but since Photos Framework was introduced in iOS 8.0, my app won't run in iOS 7.0. Using xcode I can specify Photos Framework as option