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

Liang Jian jianliang79 at gmail.com
Thu Dec 4 06:39:29 CET 2014

    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
optional to address this issue. my question is: how can I specify Framework
as optional in *.pro file?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141204/b8ba91d6/attachment.html>

More information about the Interest mailing list