Important: Please read the Qt Code of Conduct -

Compile all of Qt framework in a static library

  • Hello,

    What we are working on is having a Qt static library added inside a cocoapod library. I am having some trouble with adding the whole Qt framework (Qt5Core.a for example) in the cocoapods project.

    I did manage to make an iOS native project be able to link and use the Qt library.

    Now my question is if we are able to create a *.a file that contains Qt5Core and does not need to link it again.

    I did try LIBS += -lQt5Core but it does not seem to work.

    Quick disclaimer I am a beginner in Qt and am not sure where to go next.

    Thank you.

Log in to reply