Nominate our 2022 Qt Champions!

CONFIG(release, debug|release): not working for iphoneos

  • In my project file I have code like this:

        CONFIG(debug, debug|release): LIBS += -LDEBUG_LIB_LOCATION
        CONFIG(release, debug|release): LIBS += -LRELEASE_LIB_LOCATION`

    This works for android and Linux. But when building for iphoneos, it always takes the debug lib/config also i set the build mode to "Release".

    Why? What can I do?

Log in to reply