Qt 6.8.3 with BlackBerry 10 (QNX 8 / ARMv7) patches
 
 
 
 
 
 
Go to file
Tor Arne Vestbø bc014d5fc7 iOS: Don't report UIDevice.currentDevice.orientation through QScreen
As of Qt 6 (3e12951c0b, the QScreen's
orientation() property is supposed to represent the orientation
of the screen from a window management perspective, and not the
orientation of the actual device, as in Qt 5 times.

For iOS, when the orientation of the app is locked to a orientation
via the Info.plist or [UIViewController supportedInterfaceOrientations],
the UIDevice API will keep reporting the actual orientation of the device,
which is wrong for the Qt 6 definition of the API.

We currently don't have an API in QScreen to represent the always
updating physical rotation of the device. For this use-case the
supported API is QOrientationReading in Qt Sensors.

[ChangeLog][iOS] QScreen::orientation() will no longer report the
device's physical orientation when orientation has been locked
to a subset of the available orientations, but will instead
match the primary orientation.

Task-number: QTBUG-38576
Task-number: QTBUG-121781
Change-Id: I251a039a618656466cbfd1d836a5b49a6be8e736
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2024-04-18 19:06:01 +02:00
.github/workflows Repair github action workflow 2021-11-10 18:57:33 +01:00
LICENSES Use canonical capitalization of Unicode-3.0 SPDX tag 2024-03-13 14:43:10 +00:00
bin cmake: Override generator for iOS projects to Xcode in qt-cmake.in 2024-03-18 22:34:48 +01:00
cmake Add preliminary support for Qt for visionOS 2024-04-18 05:00:57 +02:00
coin CMake: Allow configuring a minimal subset of examples to deploy 2024-03-19 18:22:16 +01:00
config.tests Correct license in config.test 2024-02-20 16:22:28 +01:00
dist Remove dist/README 2024-02-29 15:35:57 +01:00
doc Doc: Replace obsolete <acronym> with <abbr> html tags 2024-03-22 16:28:12 +01:00
examples Fix feature dependencies for sharedmemory 2024-04-17 10:06:44 +00:00
lib
libexec CMake: Allow building all examples as standalone just like tests 2024-03-14 11:44:16 +01:00
mkspecs Add preliminary support for Qt for visionOS 2024-04-18 05:00:57 +02:00
qmake QMake: make it error out if it cannot open output files 2024-03-27 04:24:11 +01:00
src iOS: Don't report UIDevice.currentDevice.orientation through QScreen 2024-04-18 19:06:01 +02:00
tests tst_QWidget::focusChainOnHide remove QApplicationPrivate::setActiveWind 2024-04-18 18:06:01 +01:00
util cmake: Rename QT_UIKIT_SDK to QT_APPLE_SDK 2024-03-18 19:04:14 +01:00
.cmake.conf Add preliminary support for Qt for visionOS 2024-04-18 05:00:57 +02:00
.gitattributes Give batch files CRLF line endings 2020-11-04 15:02:29 +00:00
.gitignore Git ignore Visual Studio CMake build directories 2023-11-24 23:42:05 +01:00
.lgtm.yml Skip LGTM analysis for the bootstrap library and tools 2020-07-16 01:04:34 +02:00
.tag
CMakeLists.txt cmake: add _extra_files IDE target from heuristics 2024-04-12 08:36:01 +08:00
config_help.txt Add support for using an inline namespaces for -qtnamespace 2024-04-03 17:17:11 +02:00
configure Change configure license 2024-02-02 15:23:02 +00:00
configure.bat configure.bat: Fix errors on Windows 2024-03-05 11:56:24 +01:00
configure.cmake Add preliminary support for Qt for visionOS 2024-04-18 05:00:57 +02:00
dependencies.yaml
licenseRule.json Correct wording in licenseRule.json 2024-04-10 21:01:06 +02:00
qt_cmdline.cmake Remove the headersclean feature 2024-04-17 20:41:35 +02:00