Skip to content

Support for Android #3

@seijikun

Description

@seijikun

Hey!
Thank you for this example using CMake.
That really helps, since the original documentation is qmake only.

I added support for building for Android (diff).
Though, unfortunately, the plugin is not properly deployed, so the app crashes on startup.
During build I see this:

Warning: QML import could not be resolved in any of the import paths: my.plugin.example
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl
Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl

and the app crashes with:

W libapp.so: QQmlApplicationEngine failed to load component
W libapp.so: qrc:/main.qml:6 module "my.plugin.example" is not installed

I've tried for several hours, but I don't know enough about how all of this qml module stuff works behind the scenes, so I was not able to fix it.
Maybe you could help here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions