[Interest] Adding iOS framework to qmake project...

Igor Mironchik igor.mironchik at gmail.com
Mon Oct 19 18:56:25 CEST 2015


Hi guys,

I did exactly the same that described in docs...

QMAKE_LFLAGS += -F$$PWD/resources/ios/frameworks/Crashlytics.framework
QMAKE_LFLAGS += -F$$PWD/resources/ios/frameworks/Fabric.framework

LIBS += -framework Crashlytics
LIBS += -framework Fabric

OBJECTIVE_SOURCES  += resources/ios/some_source.mm

And in that some_source.mm I have:

#import <Fabric/Fabric.h>
#import <Crashlytics/Crashlytics.h>

But in generated XCode project and in QtCreator

I receive next error:

'Fabric/Fabric.h' file not found

So my question is: how to add framework to qmake project for iOS platform?

And will it be deployed correctly?

Thank you.




More information about the Interest mailing list