<?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[Multiple activities in one Android app using Qt Creator (androiddeployqt)]]></title><description><![CDATA[<p dir="auto">Related post: <a href="https://forum.qt.io/post/278637">https://forum.qt.io/post/278637</a></p>
<p dir="auto">I would like to expose two activities from one APK built using Qt Creator (<strong>androiddeployqt</strong>).  The poster above was able to do it using <strong>cmake</strong>, but today's Qt Creator GUI and <strong>androiddeployqt</strong> tool don't seem to support this.  (Background: My app has two GUI modes, one "pro" and one simplified, with most underlying library code and resources in common, thus, one APK.)</p>
<p dir="auto">Specifically:</p>
<ul>
<li><strong>AndroidManifest.xml</strong> smart editor offers only one text field for activity name and one "Run" popup field for selecting the entry-point library.</li>
<li><strong>androiddeployqt</strong> chokes on the duplicate <strong>&lt;activity&gt;</strong> tag, though it has a different <strong>label</strong> attribute:</li>
</ul>
<pre><code>Element activity#org.qtproject.qt5.android.bindings.QtActivity at AndroidManifest.xml:83:9-140:20 duplicated with element declared at AndroidManifest.xml:25:9-82:20
</code></pre>
<p dir="auto">This seems like something the team behind <strong>androiddeployqt</strong> could address in a later release.</p>
]]></description><link>https://forum.qt.io/topic/130048/multiple-activities-in-one-android-app-using-qt-creator-androiddeployqt</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 20:42:34 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/130048.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Sep 2021 17:46:18 GMT</pubDate><ttl>60</ttl></channel></rss>