<?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[qmlscene issues]]></title><description><![CDATA[<p dir="auto">How to fix below?</p>
<p dir="auto">j@j:~$ qmlscene main.qml<br />
file:///home/j/main.qml:2 module "QtQuick.Window" is not installed<br />
file:///home/j/main.qml:1 module "QtQuick" is not installed<br />
file:///home/j/main.qml:2 module "QtQuick.Window" is not installed<br />
file:///home/j/main.qml:1 module "QtQuick" is not installed</p>
<pre><code>import QtQuick 6.2
import QtQuick.Window 6.2

Window {
    visible: true
    width: 200
    height: 100

    Text {
        anchors.centerIn: parent
        text: "QtQuick version: " + Qt.application.qtVersion
    }
}
</code></pre>
]]></description><link>https://forum.qt.io/topic/163731/qmlscene-issues</link><generator>RSS for Node</generator><lastBuildDate>Fri, 26 Jun 2026 11:48:00 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163731.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Nov 2025 18:14:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to qmlscene issues on Sun, 16 Nov 2025 22:32:37 GMT]]></title><description><![CDATA[<p dir="auto">Change <code>Qt.application.qtVersion</code> to <code>Qt.application.version</code>, and it works for me with Qt 6.9.2 from a <a href="http://qt.io" target="_blank" rel="noopener noreferrer nofollow ugc">qt.io</a> installer.<br />
<img src="https://ddgobkiprc33d.cloudfront.net/a60f0120-53b5-4a2d-934b-589124d37f1c.png" alt="759c144b-e019-4a67-a940-7fa90ff40f0a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">There is a warning on stderr:</p>
<blockquote>
<p dir="auto">qt.tools.qmlscene.deprecated: Warning: qmlscene is deprecated and will be removed in a future version of Qt. Please use qml instead.</p>
</blockquote>
]]></description><link>https://forum.qt.io/post/833691</link><guid isPermaLink="true">https://forum.qt.io/post/833691</guid><dc:creator><![CDATA[jeremy_k]]></dc:creator><pubDate>Sun, 16 Nov 2025 22:32:37 GMT</pubDate></item><item><title><![CDATA[Reply to qmlscene issues on Sun, 16 Nov 2025 18:53:39 GMT]]></title><description><![CDATA[<p dir="auto">you are using Qt6. I guess qmlscene is for Qt5. Try<br />
qml main.qml<br />
and remove 6.2 from QML code because version number is not needed anymore in Qt6.</p>
<p dir="auto">I tested your code with qml and did not see any problem.</p>
<pre><code>import QtQuick
import QtQuick.Window

Window {
    visible: true
    width: 200
    height: 100

    Text {
        anchors.centerIn: parent
        text: "QtQuick version: " + Qt.application.qtVersion
    }
}

</code></pre>
]]></description><link>https://forum.qt.io/post/833685</link><guid isPermaLink="true">https://forum.qt.io/post/833685</guid><dc:creator><![CDATA[JoeCFD]]></dc:creator><pubDate>Sun, 16 Nov 2025 18:53:39 GMT</pubDate></item></channel></rss>