Fix the iOS/tvOS platform plugin build on tvOS
This fixes a regression from ba44cdae38
.
Task-number: QTBUG-65516
Change-Id: I989b075d3f96170660042349437e4a6a4a115cf9
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
624a186295
commit
175d691fa3
@ -58,6 +58,7 @@
|
|||||||
|
|
||||||
+ (void)load
|
+ (void)load
|
||||||
{
|
{
|
||||||
|
#ifndef Q_OS_TVOS
|
||||||
if (QOperatingSystemVersion::current() < QOperatingSystemVersion(QOperatingSystemVersion::IOS, 11)) {
|
if (QOperatingSystemVersion::current() < QOperatingSystemVersion(QOperatingSystemVersion::IOS, 11)) {
|
||||||
// iOS 11 handles this though [UIView safeAreaInsetsDidChange], but there's no signal for
|
// iOS 11 handles this though [UIView safeAreaInsetsDidChange], but there's no signal for
|
||||||
// the corresponding top and bottom layout guides that we use on earlier versions. Note
|
// the corresponding top and bottom layout guides that we use on earlier versions. Note
|
||||||
@ -72,6 +73,7 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (Class)layerClass
|
+ (Class)layerClass
|
||||||
|
Loading…
Reference in New Issue
Block a user