<?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[QQmlEngine::setExternalSingletonInstance]]></title><description><![CDATA[<p dir="auto">It looks like <a href="https://doc-snapshots.qt.io/qt6-dev/qqmlengine.html#setExternalSingletonInstance" target="_blank" rel="noopener noreferrer nofollow ugc">a feature has been added in Qt 6.12</a> that addresses a weakness that I have complained about before in that, since being encouraged to move away from using <code>setContextProperty</code>, it has become more awkward to wire things up in the C++ backend without having to do things like introducing actual C++ singletons.</p>
<p dir="auto">There is a nice write up about it here:  <a href="https://www.kdab.com/singleton-controllers-in-times-of-declarative-qml/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.kdab.com/singleton-controllers-in-times-of-declarative-qml/</a></p>
]]></description><link>https://forum.qt.io/topic/164655/qqmlengine-setexternalsingletoninstance</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 17:23:30 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164655.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 May 2026 14:48:54 GMT</pubDate><ttl>60</ttl></channel></rss>