Important: Please read the Qt Code of Conduct -

Importing an xcode library into .pro

  • I've created an xcode library that i want to use in my qt application (on ios)
    searched for the library on the disk and added

    LIBS += -L/Users/clogwog/Library/Developer/Xcode/DerivedData/mylibrary-bqawggnoyjunnddrtkjmosjemjwr/Build/Products/Debug-iphoneos -l mylibrary

    to the .pro file and it works.

    this seems to be a very machine and user specific way of including an xcode library.
    is there a more generic way of doing this ?

    something more like what i can use for adding frameworks:
    LIBS += -framework CoreLocation


Log in to reply