Qt for Android known issues: Difference between revisions
Jump to navigation
Jump to search
(Update with current news that NDK r12 doesn't actually fix the Qt build issues experienced with r11 - it works with release builds but not debug builds https://github.com/android-ndk/ndk/issues/67#issuecomment-233301104) |
No edit summary |
||
Line 1: | Line 1: | ||
== Qt for Android known issues == | == Qt for Android known issues == | ||
* There is a bug in GCC in the latest Android NDK, making it impossible to use it for building Qt. The bug has not been fixed yet, and it's recommended to use [https://github.com/android-ndk/ndk/wiki#r10e Android NDK r10e]. See also [https://github.com/android-ndk/ndk/issues/67 the bug report]. | * There is a bug in GCC in the latest Android NDK, making it impossible to use it for building Qt. The bug has not been fixed yet, and it's recommended to use [https://github.com/android-ndk/ndk/wiki#r10e Android NDK r10e]. See also [https://github.com/android-ndk/ndk/issues/67 the bug report]. | ||
* The Android NDK compiler has [https://code.google.com/p/android/issues/detail?id=58476 a bug when building for armv5 and deploying on older kernels]. This will cause Qt applications to crash on startup. When building Qt, you need to disable 64-bit atomics for armv5. See [https://bugreports.qt.io/browse/QTBUG-52923 QTBUG-52923] for more information. | * The Android NDK compiler has [https://code.google.com/p/android/issues/detail?id=58476 a bug when building for armv5 and deploying on older kernels]. This will cause Qt applications to crash on startup. When building Qt, you need to disable 64-bit atomics for armv5. See [https://bugreports.qt.io/browse/QTBUG-52923 QTBUG-52923] for more information. |
Revision as of 08:46, 21 September 2016
Qt for Android known issues
- There is a bug in GCC in the latest Android NDK, making it impossible to use it for building Qt. The bug has not been fixed yet, and it's recommended to use Android NDK r10e. See also the bug report.
- The Android NDK compiler has a bug when building for armv5 and deploying on older kernels. This will cause Qt applications to crash on startup. When building Qt, you need to disable 64-bit atomics for armv5. See QTBUG-52923 for more information.
- On Android 5.0, neither the debug deployment or Ministro are working correctly due to changes in the platform. There is currently no known work-around for this. Issues have been raised in the Android project here: https://code.google.com/p/android/issues/detail?id=79478 https://code.google.com/p/android/issues/detail?id=79480
- WebKit is not supported
- Qt Quick 1 apps must be deployed using qrc (QTBUG-32170)
- When using the Qt SDK, Qt Creator's Android settings will warn that "Qt version for architecture mips is missing". This is because MIPS is not currently a supported version of the Qt for Android SDK.
- Windows has a limitation on path lengths which can cause problems when your project is installed into a location with a very long path name. If you experience FileNotFoundException in openAsset() on startup of your application, try moving it to a directory with a shorter path.
- By default the Back key will terminate Qt for Android apps, unless the key event is accepted. In Qt 5.2.0, this also applies to the key press event. Unfortunately, due to misleading documentation (QTBUG-35155), many applications (including Qt examples) are incorrect, and will block the back key. We recommend making the logic explicit: always accept() the Key_Back event, and quit() the application explicitly if required.
- The Qt Multimedia Widgets module is not supported on Android, which means video display is only available using the VideoOutput and Video QML items.
- On Kindle Fire 1st generation, there is a limitation on the number of libraries that can be loaded which will lead to shader compilation errors when running some Qt Quick apps. Apps that exhibit this bug will be rejected from being published to the Amazon market. A work-around for the issue is to reduce the number of libraries that are loaded, e.g. by deleting some image format plugins that are not required. See QTBUG-33264 for more information.
- Qt Quick Controls text selection handles may appear below other controls (QTBUG-42538) ==