<?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[Rewrite Qt Widget app to Qt Quick (Controls)?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We have worked on a Qt Widgets app for a while, and now we're considering a rewrite to Qt Quick / Qt Quick controls, for the extra control it gives on how it behaves and not just looks. However, it's quite an undertaking, and I would only want to do it for the right reason, so I'd like to run it by the forum.</p>
<p dir="auto">We want our app to look (somewhat) native, hence the initial choice for Qt Widgets. But nowadays, there are also Qt Controls to help with that.</p>
<p dir="auto">Basically, my question comes down to: how much can you integrate QML widgets/animations in a Widget app so that you can add some customization in terms of behaviour and animation? You can't use QML delegates in a Widget QListView for example; that would have been useful. Are there other ways of doing that? Or do I have to put in a QQuickView(qt5)/QDeclarativeView(qt4) and load a QListView as QML element in it? Can you still use a C++ QAbstractListModel as model?</p>
<p dir="auto">Qt Creator is an example of what I mean. Basically it's a desktop app, but it has a custom widgets and animations. I looked at the Qt Creator source code to get some ideas (because that is a mix of Widgets and Qt Quick), but I couldn't actually (quickly) see if that is a Widget app with QML, or the other way around.</p>
]]></description><link>https://forum.qt.io/topic/46684/rewrite-qt-widget-app-to-qt-quick-controls</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 04:15:57 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/46684.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Oct 2014 13:52:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Rewrite Qt Widget app to Qt Quick (Controls)? on Tue, 14 Oct 2014 07:36:48 GMT]]></title><description><![CDATA[<p dir="auto">It'd be curious to know what widgets are just themed and which ones are new. Perhaps I'll dig into the source again on a rainy day.</p>
<p dir="auto">Anyway, thanks for the info.</p>
]]></description><link>https://forum.qt.io/post/247423</link><guid isPermaLink="true">https://forum.qt.io/post/247423</guid><dc:creator><![CDATA[halfgaar]]></dc:creator><pubDate>Tue, 14 Oct 2014 07:36:48 GMT</pubDate></item><item><title><![CDATA[Reply to Rewrite Qt Widget app to Qt Quick (Controls)? on Mon, 13 Oct 2014 18:55:43 GMT]]></title><description><![CDATA[<p dir="auto">Qt Creator is based on QWidgets at its heart. There are three plugins (out of more than 50 plugins in the default setup) that have a Qt Quick based Gui (Welcome screen and the QML  Designer and QML Profiler). So if you run Qt Creator from the command line with '-noload Welcome -noload QmlDesigner -noload QmlProfiler' you are looking pretty much at a pure QWidget application. This includes all the theming, progress bar animation etc.</p>
]]></description><link>https://forum.qt.io/post/247340</link><guid isPermaLink="true">https://forum.qt.io/post/247340</guid><dc:creator><![CDATA[andrep]]></dc:creator><pubDate>Mon, 13 Oct 2014 18:55:43 GMT</pubDate></item><item><title><![CDATA[Reply to Rewrite Qt Widget app to Qt Quick (Controls)? on Sun, 05 Oct 2014 15:39:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The most important question is: What is the reason behind your team's decision to rewrite your GUI in Qt Quick?</p>
<p dir="auto">A widget-based view needs a widget-based delegate. A Qt Quick-based view needs a Qt Quick delegate.</p>
<p dir="auto">You can embed a Qt Quick component inside a widget using "QQuickWidget":<a href="http://qt-project.org/doc/qt-5/qquickwidget.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-5/qquickwidget.html</a>. You cannot embed a widget inside Qt Quick.</p>
<p dir="auto">Qt Creator's GUI is mainly made of Qt Widgets. Only the Welcome screen is Qt Quick.</p>
]]></description><link>https://forum.qt.io/post/246307</link><guid isPermaLink="true">https://forum.qt.io/post/246307</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Sun, 05 Oct 2014 15:39:57 GMT</pubDate></item></channel></rss>