<div dir="ltr">Even more, in my case <div>the combination of:</div><div><br></div><div><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px">Style=Material</pre><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px">and</pre><pre style="margin-top:0px;margin-bottom:0px"><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px"><span style="font-style:italic;color:rgb(69,198,214)">import</span><span style="color:rgb(190,192,194)"> </span>org.kde.kirigami<span style="color:rgb(190,192,194)"> </span>2.2<span style="color:rgb(190,192,194)"> </span>as<span style="color:rgb(190,192,194)"> </span><span style="color:rgb(102,163,52)">Kirigami</span></pre><span style="white-space:pre-wrap">
</span><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px">always exists with code 255 on the desktop. On android the error:</pre><pre style="margin-top:0px;margin-bottom:0px"><p style="white-space:normal;font-family:arial,sans-serif;font-size:12.8px;margin:0px"><span style="color:rgb(170,0,0)">W/libmedOS_App.so( 5081): </span><a><span style="color:rgb(0,122,244)">qrc:/styles/org.kde.desktop/<wbr>Units.qml:100</span></a><span style="color:rgb(170,0,0)"> QtQuickControlsPrivate.<wbr>StyleItem is not a type</span></p><div style="white-space:pre-wrap"><span style="color:rgb(170,0,0)"><br></span></div><div style=""><font color="#000000">disappears</font><font color="#000000" style="white-space:pre-wrap"> but still dies.</font></div></pre></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-23 11:03 GMT-05:00 Camilo Higuita Rodriguez <span dir="ltr"><<a href="mailto:chiguitar@unal.edu.co" target="_blank">chiguitar@unal.edu.co</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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 
<pre style="margin-top:0px;margin-bottom:0px">Style=Material</pre>
<pre style="margin-top:0px;margin-bottom:0px"> but if instead is set </pre><pre style="margin-top:0px;margin-bottom:0px"><pre style="margin-top:0px;margin-bottom:0px">Style=Default</pre><pre style="margin-top:0px;margin-bottom:0px"> it works on the desktop.</pre><pre style="margin-top:0px;margin-bottom:0px">On android it still crashes</pre></pre></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-10-23 9:27 GMT-05:00 Camilo Higuita Rodriguez <span dir="ltr"><<a href="mailto:chiguitar@unal.edu.co" target="_blank">chiguitar@unal.edu.co</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Marco,</div><span><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">did you manage to get a simple hello world (new project by qt creator"<br></span><span style="font-size:12.8px">to run properly?</span></blockquote><div><br></div></span><div>Yes, i can deploy any qml project with qtcreator to my android device without problems.</div><div>The minimalqmake example crashes both on desktop and android for me.</div><div>on desktop: <span style="color:rgb(0,0,170);font-weight:600;white-space:pre-wrap">exited with code 255</span></div>
<div><br></div><div>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</div><div>Here's the project: <a href="https://github.com/milohr/medOS-kirigami" target="_blank">https://github.com/mi<wbr>lohr/medOS-kirigami</a></div><div><br></div><div>I'm cloning the breeze-icons and kirigami into the 3rdparty folder, as mentioned in the api doc.<br></div><div>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 :<br></div><div><br></div><div>
<p style="margin:0px"><span style="color:rgb(170,0,0)">Warning: QML import could not be resolved in any of the import paths: org.kde.kirigami</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)"><br></span></p></div><div>
<p style="margin:0px"><span style="color:rgb(0,0,0)"> -- Adding '/home/camilo/Desktop/medOS_Ap<wbr>p/3rdparty/kirigami/autotests/<wbr>tests' as QML dependency</span></p>
<p style="margin:0px"><span style="color:rgb(0,0,0)">    -- Skipping because file does not exist.</span></p><p style="margin:0px"><span style="color:rgb(0,0,0)"><br></span></p></div><div>This is the full compile log: <a href="https://paste.kde.org/poec9v793" target="_blank">https://paste.kde.org/poe<wbr>c9v793</a></div><div><br></div><div>And when it builds and installs the apk on my android device the app dies with this error:</div><div>
<p style="margin:0px"><span style="color:rgb(170,0,0)">W/libmedOS_App.so( 5081): </span><a><span style="color:rgb(0,122,244)">qrc:/styles/org.kde.desktop/Un<wbr>its.qml:100</span></a><span style="color:rgb(170,0,0)"> QtQuickControlsPrivate.StyleIt<wbr>em is not a type</span></p><p style="margin:0px"><span style="color:rgb(170,0,0)"><br></span></p><p style="margin:0px"><font color="#000000">This is the full application output log: <a href="https://paste.kde.org/pgpbgyczx" target="_blank">https://paste.kde.org/pgp<wbr>bgyczx</a></font></p><p style="margin:0px"><font color="#000000"><br></font></p><p style="margin:0px"><font color="#000000"><br></font></p><p style="margin:0px"><font color="#000000">The app on andorid dies at:</font></p><p style="margin:0px"><font color="#000000"><br></font></p><p style="margin:0px">

</p><pre style="margin-top:0px;margin-bottom:0px"><span style="font-style:italic;color:rgb(69,198,214)">if</span><span style="color:rgb(190,192,194)"> </span><span style="color:rgb(214,187,154)">(</span>engine<span style="color:rgb(214,187,154)">.</span>rootObjects<span style="color:rgb(214,187,154)">().</span>isEmpty<span style="color:rgb(214,187,154)">(<wbr>))</span></pre><p style="margin:0px">
</p><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(190,192,194)">    </span><span style="font-family:arial,sans-serif;font-style:italic;color:rgb(69,198,214)">return</span><span style="font-family:arial,sans-serif;color:rgb(190,192,194)"> </span><span style="font-family:arial,sans-serif;color:rgb(214,187,154)">-</span><span style="font-family:arial,sans-serif;color:rgb(138,96,44)">1</span><span style="font-family:arial,sans-serif;color:rgb(214,187,154)">;</span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial,sans-serif;color:rgb(214,187,154)"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif" color="#444444">Thank you for replying back. I'm looking forward to fix this issue and start creating my Kirigami app. 
</font></pre><p style="margin:0px"><font color="#000000"><br></font></p></div><div><div class="m_2113172804258833957h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-10-23 4:18 GMT-05:00 Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com" target="_blank">notmart@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_2113172804258833957m_-2997363631376066306gmail-">On Sun, Oct 22, 2017 at 10:10 PM, Camilo Higuita Rodriguez<br>
<<a href="mailto:chiguitar@unal.edu.co" target="_blank">chiguitar@unal.edu.co</a>> wrote:<br>
> Hi,<br>
> I've been trying for the past two days to get my Kirigami application up and<br>
> working on Android. It all works fine in the desktop, but when i try to<br>
> deploy it to an android device the application dies.<br>
<br>
</span>did you manage to get a simple hello world (new project by qt creator"<br>
to run properly?<br>
<br>
also, in the kirigami repo, i have a minimal example of application<br>
built with cmake that statically links to kirigami, under<br>
examples/minimalqmake/<br>
that has been checked to work even on machines with no kde deps<br>
installed and with android qt binaries downloaded from Qt website, so<br>
it's a good starting point<br>
<span class="m_2113172804258833957m_-2997363631376066306gmail-"><br>
><br>
> Here's the error log:<br>
> <a href="https://paste.kde.org/prrj64zsd/p2rbd5" rel="noreferrer" target="_blank">https://paste.kde.org/prrj64zs<wbr>d/p2rbd5</a><br>
<br>
</span>it says "the paste is password protected"<br>
<br>
--<br>
Marco Martin<br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>