Solved How to compile project for ios 9.3 and armv7
-
In QT Creator i compile my project for ios 10 and arm64 - work the best.
But how I can do this for ios 9.3 and armv7(for my Ipad 3)?
I must set parameters for Xcode. I try do this in pro file :ios { QMAKE_IOS_DEVICE_ARCHS = armv7 CONFIG += armv7 QMAKE_IOS_DEPLOYMENT_TARGET = 9.0 }
But in Xcode Device architecture is not set. And Qt Creator not compiled for armv7.
-
I found this bug-report
https://bugreports.qt.io/browse/QTBUG-65544
Qt 5.9 is a long-term supported release and continues to support iOS 9 if your app requires support for older devices.For Qt 5.10, the minimum target version is iOS 10, as you say. You can see the full list of supported platforms here: http://doc.qt.io/qt-5/supported-platforms.html
According to numbers from Apple, 92% of active devices are now on iOS 10 or iOS 11.
-
Hi,
What version of Qt are you using ?
What version of Xcode ? -
@SGaist QT for iOS 5.10 and try 5.11. Xcode 9.2 . Qt Creator 4.5.0
-
IIRC, you can set the architecture by hand in Xcode.
-
If i set the architecture armv7 in Xcode - i see 64 warning's -
ignoring file LibQt5Core_debu.a missing required architecture armv7 in file LibQt5Core_debu.a
ignoring file LibQt5Gui_debug.a missing required architecture armv7 in file LibQt5Gui_debug.a .....
.........................
and clang: error: linker command failed with exit code 1(use -v to see invocation) -
@alex_lip Do you actually have Qt for iOS armv7 installed?
-
I found this bug-report
https://bugreports.qt.io/browse/QTBUG-65544
Qt 5.9 is a long-term supported release and continues to support iOS 9 if your app requires support for older devices.For Qt 5.10, the minimum target version is iOS 10, as you say. You can see the full list of supported platforms here: http://doc.qt.io/qt-5/supported-platforms.html
According to numbers from Apple, 92% of active devices are now on iOS 10 or iOS 11.