Even more, in my case the combination of: Style=Material
and import org.kde.kirigami 2.2 as Kirigami always exists with code 255 on the desktop. On android the error: W/libmedOS_App.so( 5081): qrc:/styles/org.kde.desktop/Units.qml:100 QtQuickControlsPrivate.StyleItem is not a type disappears but still dies. 2017-10-23 11:03 GMT-05:00 Camilo Higuita Rodriguez <[email protected]>: > I've been messing around more and i found out that the minimalqmake > example dies on my desktop when in the file qtquickcontrols2.conf is set > > Style=Material > > but if instead is set > > Style=Default > > it works on the desktop. > > On android it still crashes > > > 2017-10-23 9:27 GMT-05:00 Camilo Higuita Rodriguez <[email protected]> > : > >> Hi Marco, >> >> did you manage to get a simple hello world (new project by qt creator" >>> to run properly? >> >> >> Yes, i can deploy any qml project with qtcreator to my android device >> without problems. >> The minimalqmake example crashes both on desktop and android for me. >> on desktop: exited with code 255 >> >> I used the same structure 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 cause of >> problems with kirigami and i get error messages 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 compile 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 andorid dies at: >> >> >> if (engine.rootObjects().isEmpty()) >> >> return -1; >> >> >> Thank you for replying back. I'm looking forward to fix this issue and start >> creating my Kirigami app. >> >> >> >> 2017-10-23 4:18 GMT-05:00 Marco Martin <[email protected]>: >> >>> On Sun, Oct 22, 2017 at 10:10 PM, Camilo Higuita Rodriguez >>> <[email protected]> wrote: >>> > Hi, >>> > I've been trying for the past two days to get my Kirigami application >>> up and >>> > working on Android. It all works fine in the desktop, but when i try to >>> > deploy it to an android device the application dies. >>> >>> did you manage to get a simple hello world (new project by qt creator" >>> to run properly? >>> >>> also, in the kirigami repo, i have a minimal example of application >>> built with cmake that statically links to kirigami, under >>> examples/minimalqmake/ >>> that has been checked to work even on machines with no kde deps >>> installed and with android qt binaries downloaded from Qt website, so >>> it's a good starting point >>> >>> > >>> > Here's the error log: >>> > https://paste.kde.org/prrj64zsd/p2rbd5 >>> >>> it says "the paste is password protected" >>> >>> -- >>> Marco Martin >>> >> >> >
