Many thanks Volker,
Your reply is very helpful to me.
I am currently using Qt5.15 (due to various reasons, I am not ready to use
Qt6 yet),
and I found that QML applications will depend on the Widgets library.
Referring to Qt6,
I separated Qt5 svgwidget and opengwidget, so that there is some
optimi
QML/Qt Quick and Widgets are based on fundamentally different rendering
technologies.
Widget applications have a backing store, which is (simplified) a raster image
for each toplevel window; that raster image has as many pixels as required for
the size of the window. When a line or text is draw
>You didn't answer the question.>>The difference is that QML is a different
>technology from widgets.>>If you want more details, please use a memory
>profiler to size the heap (as >opposed to memory mappings) and find out
>consumes most memory.
Thanks Thiago,
I understand that my program has
On Wednesday, 15 June 2022 18:10:11 PDT YaNing Lu wrote:
> I am going to refactor a Widget-based application into a QML-based
> application.
> I found that the actual memory usage of the program will be much higher.
> So I wrote qml-demo and widget-demo for experimental verification. I want
> to
>
I am going to refactor a Widget-based application into a QML-based
application.
I found that the actual memory usage of the program will be much higher.
So I wrote qml-demo and widget-demo for experimental verification. I want
to
know the specific reasons. What improvements can be made in terms of
On Wednesday, 15 June 2022 02:51:27 PDT YaNing Lu wrote:
> We read the USS of the demo for comparison, and the following is the
> comparison data.
>
> 5.15.2
> qml-demo : 31.3M
> widget-demo : 24.7M
>
> 6.2.4
> qml-demo : 36.0M
> widget-demo : 22.4M
What are you measuring here? What tool did you
Hi Ulf,
Thanks for your reply, I have updated the demo and added the comparison
data in
https://bugreports.qt.io/browse/QTBUG-104322.
We read the USS of the demo for comparison, and the following is the
comparison data.
5.15.2
qml-demo : 31.3M
widget-demo : 24.7M
6.2.4
qml-demo : 36.0M
widget-
Hi,
We found that QML applications occupy more than 50% more memory than Widget
applications. We have sorted out QML demo and Widget Demo that use similar
controls. Now we would like to consult and discuss the reason for this and
whether there is an optimization plan.
This is a rather coarse s
Hello Qt maintainers,
We found that QML applications occupy more than 50% more memory than Widget
applications. We have sorted out QML demo and Widget Demo that use similar
controls. Now we would like to consult and discuss the reason for this and
whether there is an optimization plan.
I also