The current code is ... a mess. resolveFileUrl and resolveFilePath do very similar things, except that one returns a path instead of a URL. resolveFileUrl also didn't include a qrc path for static builds, instead there was a similar ifdef before the call to it.
Details
Details
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Branch
- resolve
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 23747 Build 23765: arc lint + arc unit
src/kirigamiplugin.h | ||
---|---|---|
58 | i think only :/ works? |
Comment Actions
Compiles when included in an Android Debug build but when attempting to run an application I hit an immediate crash on startup with:
Android logcat
QQmlApplicationEngine failed to load component qrc:/qml/main.qml:8:1: Type Kirigami.ApplicationWindow unavailable qrc:/android_rcc_bundle/qml/org/kde/kirigami.2/ApplicationWindow.qml: No such file or directory
Trying an Android Release compile still fails on the pre-exisiting error of being unable to include <qrc_kirigami.cpp> in
kirigamiplugin.cpp
#ifdef KIRIGAMI_BUILD_TYPE_STATIC #include <qrc_kirigami.cpp> #endif
So unfortunately nothing is better and one side of things is worse, from the perspective of Android + QMake :(