[Qt-qml] QML memory usage with "import QtWebKit"
Gregory Schlomoff
gregory.schlomoff at gmail.com
Tue Nov 30 09:48:47 CET 2010
Hello,
One simple observation. Launching the following code in qmlviewer.exe,
I get a memory usage of aroung 3 megabytes:
-----------------------
import QtQuick 1.0
Rectangle {
width: 200
height: 200
}
------------------------
Now, with the following code, memory usage jumps to 13 megabytes. I'm
not instantiating any WebView element, just importing QtWebkit.
-----------------------
import QtQuick 1.0
import QtWebKit 1.0
Rectangle {
width: 200
height: 200
}
------------------------
Is that normal? Would someone care to explain what the import
statement is doing that is adding 10 mb of memory consumption?
Thanks
Greg
More information about the Qt-qml
mailing list