Can no longer define target architecture for iOS in Qt 5.8
-
Hi,
I develop an iOS app that uses an external library which only supports arm64. In Qt 5.7 I added
QMAKE_IOS_DEVICE_ARCHS = arm64
in the .pro file and it worked fine.
In Qt 5.8 the linker complaints about missing symbols for armv7 for the library symbols. How can I disable armv7 in a Qt 5.8 build?
Thanks!
-
Hi and welcome to devnet,
Looks like a potential regression. You should take a look at the bug report system to see if it's something known.
-
Yes I got a response in the bug tracker.
Apparently it has been renamed to QMAKE_APPLE_DEVICE_ARCHS in Qt 5.8. That solves the problem.
Thanks! -
Thanks for sharing your findings !
Can you also share the link to the bug report please ?
-
This is the corresponding bug report:
https://bugreports.qt.io/browse/QTBUG-59405