<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Miroil for 20.04]]></title><description><![CDATA[<p dir="auto">Those that have been following along will know that MirOil is a library intended to be added to Mir that will enable Lomiri to migrate to Mir 2.x.</p>
<p dir="auto">The development of MirOil stalled last year as the people involved found the time available for it in short supply. Over the holidays I found some time to revisit this and made some progress.</p>
<p dir="auto">I've been experimenting on building Mir+MirOil and QtMir on 20.04 with the UBports repository (<a href="http://repo2.ubports.com/" rel="nofollow ugc">http://repo2.ubports.com/</a>) added. (Note this is not recommended for your main machine.)</p>
<p dir="auto">The current situation is that there are now two branches in the Mir repository: "miroil" and "1.x/miroil" which add miroil to the <code>main</code> and <code>release/1.8</code> branches of Mir respectively.</p>
<p dir="auto">There's also a corresponding fork of UBport's QtMir branch "focal_-<em>miroil-2.0" (from <a href="https://gitlab.com/ubports/core/qtmir" rel="nofollow ugc">https://gitlab.com/ubports/core/qtmir</a>). I've put this on <a href="https://github.com/MirOil-for-Lomiri/qtmir.git" rel="nofollow ugc">https://github.com/MirOil-for-Lomiri/qtmir.git</a> and called it "ubports/focal</em>-_miroil-2.0".</p>
<p dir="auto">The current status is that (with the right dependencies installed) that this version of QtMir builds against both the Mir branches mentioned above and runs against the 1.x branch. It fails to run against the 2.x branch because there are dependencies like lomiri-ui-toolkit that don't currently build against 2.x.</p>
<p dir="auto">If you set up this environment, build and install Mir from "1.x/miroil" and then build and install QtMir from "ubports/focal_-_miroil-2.0" you can run a the demo program as follows:</p>
<pre><code>export QML2_IMPORT_PATH=/usr/local/lib/qt5/qml
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/local/lib/qt5/plugins/platforms
QT_PLUGIN_PATH=/usr/local/lib/qt5/plugins
WAYLAND_DISPLAY=wayland-99 MIR_SERVER_CURSOR=null QT_QPA_PLATFORM=mirserver cmake-build-debug/demos/qtmir-demo-shell/qtmir-demo-shell&amp;
</code></pre>
<p dir="auto">And run, e.g. gedit with:</p>
<pre><code>WAYLAND_DISPLAY=wayland-99  gedit
</code></pre>
<p dir="auto">It will likely be some time before I do much more on this, so if anyone else wants to help push things forward: <em>Please don't wait for me!</em></p>
]]></description><link>https://forums.ubports.com/topic/7237/miroil-for-20-04</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 00:33:08 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/7237.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Jan 2022 18:52:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Miroil for 20.04 on Tue, 11 Jan 2022 17:29:59 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much for all your work <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a> :folded_hands:</p>
]]></description><link>https://forums.ubports.com/post/60004</link><guid isPermaLink="true">https://forums.ubports.com/post/60004</guid><dc:creator><![CDATA[AppLee]]></dc:creator><pubDate>Tue, 11 Jan 2022 17:29:59 GMT</pubDate></item></channel></rss>