<?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[Tutorial &quot;Introduction to Qt Quick Controls&quot;, Fallen at first hurdle.]]></title><description><![CDATA[<p dir="auto">I’m absolutely new to QT and am working through the first tutorial “HomeControls”. I have followed the tutorial religiously but am persistently getting the error;</p>
<p dir="auto">1:   Cannot open: qrc:/qt/qml/HomeControls/assets /BrushedMetal.jpg.<br />
Or<br />
2 &amp; 3: Cannot open: qrc:/qt/qml/HomeControls /BrushedMetal.jpg.</p>
<p dir="auto">I’ve tried the following;<br />
1: Created a folder ‘assets’ in the project folder and put a copy of BrushedMetal.jpg there ({$PROJECTS}/HomeControls/assets/ BrushedMetal.jpg).<br />
2: Put a copy of BrushedMetal.jpg in the { $PROJECTS }/‘HomeControls’ project folder itself and removed ‘assets/’ from the line ‘image{ source:’<br />
3: Put a copy of BrushedMetal.jpg into { $PROJECTS }/HomeControsl/build/Desktop_Qt_6_10_0-Debug/HomeControls</p>
<p dir="auto">I cannot find were ’qrc:’ is defined. I’ve looked in the .qrc file in the ../HomeControl/build/Desktop_Qt_6_10_0-Debug/HomeControls and find an alias for /qt/qml/HomeControls but unfortunately that doesn’t make much sense to me. Still can’t see how grc: is defined or to what it refers.</p>
<p dir="auto">I’m using QT6 with QT Creator 18 on a Raspberry Pi  running Debian 13 (Trixie) from a hard drive (No SD cards involved). Qt is installed on the local hard drive and my project files are located on a share on my NAS. $PROJECTS refers to the NAS share mounted under cifs at /home/john/Projects</p>
<p dir="auto">What am I missing?</p>
]]></description><link>https://forum.qt.io/topic/163676/tutorial-introduction-to-qt-quick-controls-fallen-at-first-hurdle.</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 19:07:20 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163676.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Nov 2025 19:51:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tutorial &quot;Introduction to Qt Quick Controls&quot;, Fallen at first hurdle. on Sat, 08 Nov 2025 17:13:28 GMT]]></title><description><![CDATA[<p dir="auto">OK, one learns from ones mistakes. It appears that the CMakeLists.txt file autogenerated by Qt Creator hadn't included the RESOURCES element of 'qt_add_qml_module()'. Was this something I missed when configuring the project initially or is it something that must be added manually as the project evolves? This doesn't even come over clearly in the documentation, CMakeLists.txt doesn't even get a mention.</p>
]]></description><link>https://forum.qt.io/post/833441</link><guid isPermaLink="true">https://forum.qt.io/post/833441</guid><dc:creator><![CDATA[JWalters55]]></dc:creator><pubDate>Sat, 08 Nov 2025 17:13:28 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial &quot;Introduction to Qt Quick Controls&quot;, Fallen at first hurdle. on Sat, 08 Nov 2025 09:09:56 GMT]]></title><description><![CDATA[<p dir="auto">You should read <a href="https://doc.qt.io/qt-6/resources.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/resources.html</a> to learn about the Qt resource system</p>
]]></description><link>https://forum.qt.io/post/833437</link><guid isPermaLink="true">https://forum.qt.io/post/833437</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Sat, 08 Nov 2025 09:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial &quot;Introduction to Qt Quick Controls&quot;, Fallen at first hurdle. on Fri, 07 Nov 2025 22:35:11 GMT]]></title><description><![CDATA[<p dir="auto">it's the definition/declaration of qrc: I'm looking for. The alias /qt/qml  pertains to the build folder but;<br />
1: How does appHomeControls_qml_module_dir_map.qrc get built<br />
2: Where  on earth does the URL prefix 'qrc:' come from?</p>
]]></description><link>https://forum.qt.io/post/833430</link><guid isPermaLink="true">https://forum.qt.io/post/833430</guid><dc:creator><![CDATA[JWalters55]]></dc:creator><pubDate>Fri, 07 Nov 2025 22:35:11 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial &quot;Introduction to Qt Quick Controls&quot;, Fallen at first hurdle. on Fri, 07 Nov 2025 22:24:47 GMT]]></title><description><![CDATA[<p dir="auto">Rather missed the point, that's just a typo in the post. Please give me some credit!!</p>
]]></description><link>https://forum.qt.io/post/833429</link><guid isPermaLink="true">https://forum.qt.io/post/833429</guid><dc:creator><![CDATA[JWalters55]]></dc:creator><pubDate>Fri, 07 Nov 2025 22:24:47 GMT</pubDate></item><item><title><![CDATA[Reply to Tutorial &quot;Introduction to Qt Quick Controls&quot;, Fallen at first hurdle. on Fri, 07 Nov 2025 20:41:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jwalters55">@<bdi>JWalters55</bdi></a> said in <a href="/post/833422">Tutorial "Introduction to Qt Quick Controls", Fallen at first hurdle.</a>:</p>
<blockquote>
<p dir="auto">qrc:/qt/qml/HomeControls/assets /BrushedMetal.jpg</p>
</blockquote>
<p dir="auto">There is a space between <code>assets</code> and the filename which for sure should not be there.</p>
]]></description><link>https://forum.qt.io/post/833425</link><guid isPermaLink="true">https://forum.qt.io/post/833425</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Fri, 07 Nov 2025 20:41:29 GMT</pubDate></item></channel></rss>