Bug 386113

Summary: Kirigami app dies on android (using qmake )
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: camiloh <chiguitar>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description camiloh 2017-10-23 14:50:11 UTC
I can deploy any qml project with qtcreator to my android device without problems.
The minimalqmake example on the Kirigami repo crashes both on desktop and android for me.
on desktop it exits with code 255

I used the same structure of the minimalqmake example for qmake with another example and it all works fine in the desktop, and also builds on android but crashes
Here's the project: https://github.com/milohr/medOS-kirigami

I'm cloning the breeze-icons and kirigami into the 3rdparty folder, as mentioned in the api doc.

The app builds okay on the desktop and on android, but it dies because of problems with kirigami and i get error messages and warnings when compiling like :

Warning: QML import could not be resolved in any of the import paths: org.kde.kirigami

-- Adding '/home/camilo/Desktop/medOS_App/3rdparty/kirigami/autotests/tests' as QML dependency
-- Skipping because file does not exist.

This is the full compiler log: https://paste.kde.org/poec9v793

And when it builds and installs the apk on my android device the app dies with this error:
W/libmedOS_App.so( 5081): qrc:/styles/org.kde.desktop/Units.qml:100 QtQuickControlsPrivate.StyleItem is not a type

This is the full application output log: https://paste.kde.org/pgpbgyczx


The app on android dies at:

if (engine.rootObjects().isEmpty())
    return -1;
Comment 1 camiloh 2017-10-23 17:14:05 UTC
Some updates:

Apparently the error/issue might come from setting the style prop to Material.
I've searched and it appears to be a bug on qtcreator latest release when
importing the qtquick.controls.material fails

https://bugreports.qt.io/browse/QTCREATORBUG-18870

https://codereview.qt-project.org/#/c/207278/

https://bugreports.qt.io/browse/QTBUG-59026
Comment 2 camiloh 2017-10-23 18:19:44 UTC
Qt creator 4.4.1
Qt 5.9.2
Arch Linux
Comment 3 Justin Zobel 2022-11-10 08:52:25 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-11-25 05:19:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-12-10 05:15:55 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!