<?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[Qt ui.qml application in Linux]]></title><description><![CDATA[<p dir="auto">Hi everyone. I can be considered as noob in qt, but after a week-long battle with ever imagined cross-compilations, buildings and configurations I have a one simple question, and I rely on community very much for helping found an answer - why I can create flexible perfect design of gui application in Design studio based on python and using ui.qml files, and I cant just doing as same in Linux and even dramatically on Raspberry?<br />
May be I digged in wrong direction? Or what? Pls help, cos' after a week of endless and sleepless buildings, reinstallations and trying of more endless number of combinations  of application structure organization it's seems more like madness than design.<br />
If someone know really working methods of painless creating applications based on python where I can use multiple screens (states) and further IT CAN WORK ON LINUX/RASPBERRY - please, say it loud, it would be a big deal.<br />
Thanks in advance</p>
]]></description><link>https://forum.qt.io/topic/131315/qt-ui-qml-application-in-linux</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 01:49:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/131315.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Oct 2021 13:51:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt ui.qml application in Linux on Fri, 22 Oct 2021 19:03:15 GMT]]></title><description><![CDATA[<p dir="auto">Are they all the same versions ?<br />
Did you install them the same way on all your devices ?</p>
<p dir="auto">What exact issue are you having ?</p>
<p dir="auto">Since you are using QtQuick, you should start really simple with a basic app and make it work on both sides.</p>
]]></description><link>https://forum.qt.io/post/686308</link><guid isPermaLink="true">https://forum.qt.io/post/686308</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 22 Oct 2021 19:03:15 GMT</pubDate></item><item><title><![CDATA[Reply to Qt ui.qml application in Linux on Thu, 21 Oct 2021 19:52:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> i'm using pyside2(because it was in examples what suited me most) and it installed everywhere - on windows, on ubuntu and rpi too<br />
for now I'm trying at least to understand what tactic/architecture of app i need to use for this case...</p>
]]></description><link>https://forum.qt.io/post/686132</link><guid isPermaLink="true">https://forum.qt.io/post/686132</guid><dc:creator><![CDATA[Alex936]]></dc:creator><pubDate>Thu, 21 Oct 2021 19:52:01 GMT</pubDate></item><item><title><![CDATA[Reply to Qt ui.qml application in Linux on Thu, 21 Oct 2021 19:44:47 GMT]]></title><description><![CDATA[<p dir="auto">Are you using PySide2/6 or PyQt5/6 ?</p>
<p dir="auto">On did you install them ?</p>
]]></description><link>https://forum.qt.io/post/686130</link><guid isPermaLink="true">https://forum.qt.io/post/686130</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 21 Oct 2021 19:44:47 GMT</pubDate></item><item><title><![CDATA[Reply to Qt ui.qml application in Linux on Thu, 21 Oct 2021 19:37:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> honestly - for the first time i've just copied files to raspberry with installed qt (by apt-get qt5-default, qtcreator). It was .py file with backend, .qml with main construction, which loads to engine in python code, and .ui.qml with different screen construction, which implied to switch by states. also on rpi was installed pyside2.<br />
but what confused me most - application errors were concerned about qtquick imports - it just couldn't find it.<br />
yeah, somewhere in my mind i guess that i maybe doing something wrong, but i found zero info about what i need and mean exactly - is it even possible to use ui.qml-based applications on linux/rpi particularly<br />
because when i opened it in gui mode - i found that it uses (as example in new projects) older versions of qtquick, but when i set this versions - it didn't help. also i was confused that it doesn't have python projects templates at all, what made me like - "hm, does it even support python projects?"<br />
for now - i'm in process of building qt from source on rpi, but i'm not sure will it help or not.<br />
same story when i tried to install qt on my desktop ubuntu.<br />
i read about cross-compilation but didn't try it because all tutorials says that in need simultaneous build of qt on host and rpi with rsync of files, but in the same time they says that these builds is platform-dependent, so i didn't do it because i just wanted to try simple project on my rpi(3b) but what will be used in project what i need to do is rpi3b+/rpi4, what leads, as i understand, to rebuild of host qt. but for now i'm already just exhausted by endless rebuilds which takes over a day each time and all this time i can't make design and code because i don't understand will it work somehow someday or not, in this form (as mentioned in beginning of message), or i must turn the table and just hardcode gui in pyhon code by widgets? but even if hardcode or use just separate qml's - i can't find anywhere - how to switch between, for example, few qml files in python, instead of switching states like in ui.qml?<br />
or what?.. i'm really confused for now</p>
]]></description><link>https://forum.qt.io/post/686128</link><guid isPermaLink="true">https://forum.qt.io/post/686128</guid><dc:creator><![CDATA[Alex936]]></dc:creator><pubDate>Thu, 21 Oct 2021 19:37:13 GMT</pubDate></item><item><title><![CDATA[Reply to Qt ui.qml application in Linux on Thu, 21 Oct 2021 18:42:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">What exactly is your issue on the RaspberryPi ?</p>
<p dir="auto">How do you transfert your application from your desktop to your RPi ?</p>
]]></description><link>https://forum.qt.io/post/686118</link><guid isPermaLink="true">https://forum.qt.io/post/686118</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 21 Oct 2021 18:42:06 GMT</pubDate></item></channel></rss>