Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
6.7.0 FF
-
None
-
-
67739448f (6.6)
Description
objc-msgsend-selector-stubs -std=c++17 -MD -MT src/plugins/platforms/ios/CMakeFiles/QIOSIntegrationPlugin.dir/Release/qiostheme.mm.o -MF src/plugins/platforms/ios/CMakeFiles/QIOSIntegrationPlugin.dir/Release/qiostheme.mm.o.d -o src/plugins/platforms/ios/CMakeFiles/QIOSIntegrationPlugin.dir/Release/qiostheme.mm.o -c /Users/qt/work/qt/qtbase/src/plugins/platforms/ios/qiostheme.mm /Users/qt/work/qt/qtbase/src/plugins/platforms/ios/qiostheme.mm:73:72: error: 'tintColor' is only available on iOS 15.0 or newer [-Werror,-Wunguarded-availability-new] s_systemPalette.setBrush(QPalette::Accent, qt_mac_toQBrush(UIColor.tintColor.CGColor)); ^~~~~~~~~ /Applications/Xcode14.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:145:49: note: 'tintColor' has been marked as being introduced in iOS 15.0 here, but the deployment target is iOS 14.0.0 @property (class, nonatomic, readonly) UIColor *tintColor API_AVAILABLE(ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos) NS_SWIFT_NAME(tintColor); ^ /Users/qt/work/qt/qtbase/src/plugins/platforms/ios/qiostheme.mm:73:72: note: enclose 'tintColor' in an @available check to silence this warning s_systemPalette.setBrush(QPalette::Accent, qt_mac_toQBrush(UIColor.tintColor.CGColor)); ^~~~~~~~~ 1 error generated.
Details: https://testresults.qt.io/coin/integration/qt/qtqa/tasks/1699554240
Tested changes (refs/builds/qtci/dev/1694081986):
https://codereview.qt-project.org/c/qt/qtqa/+/502398/2 Update dependencies on 'dev' in qt/qtqa
Attachments
For Gerrit Dashboard: QTBUG-116840 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
490463,4 | iOS: Add version check when setting accent color | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |