| Summary: | Text Properties docker is blank on Android in Nightly builds | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Dmitry Kazakov <dimula73> |
| Component: | Dockers | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | penguinflyer2222 |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Android 14.x | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/aa95d27486ba45d8bdd49d51ffefa91609d0f1b1 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Dmitry Kazakov
2024-08-07 14:37:15 UTC
QML isn't being packaged. The .so files that go in /lib and the .qml and other files that go in /assets/qml are missing. Running androiddeployqt with --verbose, like > $SRCDIR/_install/bin/androiddeployqt --input $SRCDIR/_build/krita-deployment.json --output $SRCDIR/_build/krita_build_apk/ --android-platform android-34 --gradle --verbose shows > Running qmlimportscanner with the following command: /krita/_install/bin/qmlimportscanner -rootPath /krita/ -importPath /krita/_install/qml /krita/ /krita/_build/lib > -- Adding '/krita/_install/qml/QtQuick.2' as QML dependency > -- Skipping because path is in QML root path. [... long list of QML dependencies being skipped] qml-root-path is defined in _build/krita-deployment.json, which is generated by ECM, which hardcodes this value to the source folder (https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/v5.101.0/toolchain/deployment-file-qt514.json.in?ref_type=tags). Modifying this path to "[source]/plugins" (where Krita's own qml files are located) produces an APK with a working Text Properties docker. So patching ECM to make qml-root-path customizable would be one possible solution, though there may be a better way. A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2398 Git commit aa95d27486ba45d8bdd49d51ffefa91609d0f1b1 by Dmitry Kazakov. Committed on 09/05/2025 at 18:21. Pushed by dkazakov into branch 'master'. [android] Move the build workdir outside of the source tree Otherwise androiddeployqt fails to package Qt's QML modules Fixes T17523 M +11 -3 build-tools/ci-scripts/android.yml https://invent.kde.org/graphics/krita/-/commit/aa95d27486ba45d8bdd49d51ffefa91609d0f1b1 |