<?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[Should I use StackView or a custom Loader-based navigation system for a multi-screen Qt Quick HMI?]]></title><description><![CDATA[<p dir="auto">Hi everyone,<br />
I’m building an HMI in Qt Quick (Qt 6.x) which has around 25 screens.<br />
Currently, I’m handling navigation with a custom C++ ScreenManager + QML Loader approach:</p>
<p dir="auto">ScreenManager emits signals (screenChanged, appStateChanged)<br />
QML listens and updates currentScreen<br />
I load screens dynamically using a Loader { source: currentScreen }</p>
<p dir="auto">Inside each screen I also use QML states for internal animations/modes<br />
This setup works well and feels simple to manage.</p>
<p dir="auto">However, many examples and discussions recommend using StackView for navigation—especially for larger HMIs with animations, transitions, or back navigation.</p>
<p dir="auto">So my questions are:</p>
<p dir="auto">For an HMI with ~25 screens, is StackView the recommended / ideal approach?<br />
Is there any long-term disadvantage in sticking to a Loader + custom manager approach?<br />
Do automotive or production HMIs typically rely on StackView, or do they build custom navigation managers?<br />
If I switch to StackView, will screen transitions and animations become easier to manage?</p>
<p dir="auto">From a performance and architecture perspective, which approach scales better as the HMI grows?</p>
]]></description><link>https://forum.qt.io/topic/163838/should-i-use-stackview-or-a-custom-loader-based-navigation-system-for-a-multi-screen-qt-quick-hmi</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 04:28:29 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163838.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Dec 2025 08:45:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Should I use StackView or a custom Loader-based navigation system for a multi-screen Qt Quick HMI? on Mon, 01 Dec 2025 11:51:35 GMT]]></title><description><![CDATA[<p dir="auto">I would recommend StackView for any HMI with back and forth navigation.<br />
The Loader disadvantage is having one more Item in your hierarchy, less feature for your navigation and no transition animation out of the box.</p>
<p dir="auto">Note that you can use your custom manager in tandem with a StackView.<br />
Something like this should work:<br />
<code>onCurrentScreenChanged: myStackView.replace(null, currentScreen)</code>.</p>
<p dir="auto">Having a StackView lets you keep some screens UI only, without making your ScreenManager aware. For example you could push a UI settings page (theme, font size) irrelevant to your business side.</p>
]]></description><link>https://forum.qt.io/post/834188</link><guid isPermaLink="true">https://forum.qt.io/post/834188</guid><dc:creator><![CDATA[GrecKo]]></dc:creator><pubDate>Mon, 01 Dec 2025 11:51:35 GMT</pubDate></item></channel></rss>