<?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[Qt6 android service?]]></title><description><![CDATA[<p dir="auto">Best I could find are <a href="https://doc.qt.io/qt-6/android-services.html" target="_blank" rel="noopener noreferrer nofollow ugc">docs</a> that tell one to add Java code for this, <a href="https://scythe-studio.com/en/blog/qt-qml-development/how-to-interface-qt-with-android-java-code" target="_blank" rel="noopener noreferrer nofollow ugc">all</a> <a href="https://stackoverflow.com/questions/27760599/executing-java-file-in-qt" target="_blank" rel="noopener noreferrer nofollow ugc">sources</a> instruct one to add <code>QT += androidextras</code> but when building that results in <code>Unknown module(s) in QT: androidextras</code>.<br />
All I want is to have Android keep the same process running in the background, like any normal OS would.</p>
]]></description><link>https://forum.qt.io/topic/140034/qt6-android-service</link><generator>RSS for Node</generator><lastBuildDate>Sun, 21 Jun 2026 19:05:56 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/140034.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Oct 2022 09:52:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt6 android service? on Tue, 18 Oct 2022 12:23:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> that's just a service that Android will kill some time after the activity is closed. Is there any way to make it a <a href="https://developer.android.com/guide/components/foreground-services" target="_blank" rel="noopener noreferrer nofollow ugc">foreground</a> one? The Qt doc even mentions it but doesn't give an instruction</p>
]]></description><link>https://forum.qt.io/post/733109</link><guid isPermaLink="true">https://forum.qt.io/post/733109</guid><dc:creator><![CDATA[Alan Kay]]></dc:creator><pubDate>Tue, 18 Oct 2022 12:23:55 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 android service? on Tue, 18 Oct 2022 09:34:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kay">@<bdi>Alan-Kay</bdi></a> Did you check <a href="https://doc.qt.io/qt-6/android-services.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/android-services.html</a> ?</p>
]]></description><link>https://forum.qt.io/post/733095</link><guid isPermaLink="true">https://forum.qt.io/post/733095</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 18 Oct 2022 09:34:17 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 android service? on Tue, 18 Oct 2022 09:20:34 GMT]]></title><description><![CDATA[<p dir="auto">So there is outright no way to make an android foreground service with Qt6 yet?</p>
]]></description><link>https://forum.qt.io/post/733090</link><guid isPermaLink="true">https://forum.qt.io/post/733090</guid><dc:creator><![CDATA[Alan Kay]]></dc:creator><pubDate>Tue, 18 Oct 2022 09:20:34 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 android service? on Mon, 17 Oct 2022 07:25:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kay">@<bdi>Alan-Kay</bdi></a> According to <a href="https://wiki.qt.io/New_Features_in_Qt_6.0#Android" target="_blank" rel="noopener noreferrer nofollow ugc">https://wiki.qt.io/New_Features_in_Qt_6.0#Android</a> many *extras modules do not exist in Qt6 anymore, see<br />
"Code from these Qt &lt;platform&gt; Extras modules will find new homes in more relevant modules over time, and any remaining APIs considered for inclusion in later 6.x releases:</p>
<pre><code>Qt Android Extras
Qt Mac Extras
Qt X11 Extras
Qt Windows Extras"
</code></pre>
]]></description><link>https://forum.qt.io/post/732888</link><guid isPermaLink="true">https://forum.qt.io/post/732888</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Mon, 17 Oct 2022 07:25:33 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 android service? on Sun, 16 Oct 2022 23:41:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> said in <a href="/post/732514">Qt6 android service?</a>:</p>
<blockquote>
<p dir="auto">Are you also using Qt for Android?</p>
</blockquote>
<p dir="auto">Of course</p>
]]></description><link>https://forum.qt.io/post/732872</link><guid isPermaLink="true">https://forum.qt.io/post/732872</guid><dc:creator><![CDATA[Alan Kay]]></dc:creator><pubDate>Sun, 16 Oct 2022 23:41:27 GMT</pubDate></item><item><title><![CDATA[Reply to Qt6 android service? on Thu, 13 Oct 2022 10:37:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kay">@<bdi>Alan-Kay</bdi></a> said in <a href="/post/732509">Qt6 android service?</a>:</p>
<blockquote>
<p dir="auto">Unknown module(s) in QT: androidextras</p>
</blockquote>
<p dir="auto">Are you also using Qt for Android?</p>
<p dir="auto">"All I want is to have Android keep the same process running in the background, like any normal OS would" - mobile platforms like iOS and Android are very restrictive if it comes to background processes, especially to not to drain battery too fast.</p>
]]></description><link>https://forum.qt.io/post/732514</link><guid isPermaLink="true">https://forum.qt.io/post/732514</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 13 Oct 2022 10:37:43 GMT</pubDate></item></channel></rss>