<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">While waiting for the Subsurface-mobile user manual I figured I'd give the iOS build a try again. And sadly I'm back in this state where I've been a few times before.</div><div class=""><br class=""></div><div class="">
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#092e64;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>engine</span>.<span style=" color:#00677c;" class="">load</span>(<span style=" color:#800080;" class="">QUrl</span>(<span style=" color:#000080;" class="">QStringLiteral</span>(<span style=" color:#008000;" class="">"<a href="qrc:///qml/main.qml" class="">qrc:///qml/main.qml</a>"</span>)));</pre><pre style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></pre><pre style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Helvetica; white-space: normal;" class="">results in no error, no diagnostic output, absolutely nothing (even in a debug build). </span><span style="font-family: Helvetica; white-space: normal;" class="">Yet</span></pre><pre style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Helvetica; white-space: normal;" class=""><br class=""></span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><span style=" color:#c0c0c0;" class="">  </span>qqWindowObject<span style=" color:#c0c0c0;" class=""> </span>=<span style=" color:#c0c0c0;" class=""> </span><span style=" color:#092e64;" class="">engine</span>.<span style=" color:#00677c;" class="">rootObjects</span>().<span style=" color:#00677c;" class="">value</span>(<span style=" color:#000080;" class="">0</span>);<!--EndFragment--></pre><div class=""><br class=""></div></div><div class="">fails since rootObjects() is an empty list. The Qt documentation helpfully tells you that if something had gone wrong, errors would have been written out:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><span style="color: rgb(64, 66, 68); font-family: 'Titillium Web', Arial, Helvetica, sans-serif; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">If an error occurs, error messages are printed with </span><a href="http://doc.qt.io/qt-5/qtglobal.html#qWarning" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(23, 168, 26); text-decoration: none; transition-duration: 0.3s; font-family: 'Titillium Web', Arial, Helvetica, sans-serif; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">qWarning</a><span style="color: rgb(64, 66, 68); font-family: 'Titillium Web', Arial, Helvetica, sans-serif; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">.</span></div></blockquote><div style="color: rgb(64, 66, 68); font-family: 'Titillium Web', Arial, Helvetica, sans-serif;" class=""><br class=""></div><div class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica;" class="">which is incredibly </span>helpful except that there is no output. And there appears to be no other way to figure out what's wrong. This happens both in the iPhone simulator as well as when running on an actual device.</div><div class=""><br class=""></div><div class="">ARG.</div><div class=""><br class=""></div><div class="">Going through the email archives and git history it seems that in the past this had happened when we were missing qml dependencies. And oddly this all is done via the magic <span style="color: rgb(9, 46, 100);" class="">dummy.qml</span> file. I made sure that every import that we have in our QML is carefully matched in that file. Still. same result.</div><div class=""><br class=""></div><div class="">If anyone has an inspiration what to try next, I'm all ear...</div><div class=""><br class=""></div><div class="">/D</div><div class=""><font color="#404244" face="Titillium Web, Arial, Helvetica, sans-serif" class=""><span style="font-size: 19px;" class=""><br class=""></span></font></div></body></html>