-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.7.0, Qt Creator 3.0.0-rc1
-
Windows Vista 64 bit
-
I66a236a024d76e7bef6edfb91ae30b5dd098b76b
- Create a Qt Quick 1 Application and configure it with Qt 4.
- Add some JavaScript to main.qml.
I used:import QtQuick 1.1 Rectangle { width: 360 height: 360 Text { text: qsTr("Hello World") anchors.centerIn: parent } Timer { interval: 2000 repeat: true running: true onTriggered: { var i; for (i = 1; i < 2500; ++i) { var j; j = i * i; console.log(j); } } } MouseArea { anchors.fill: parent onClicked: { Qt.quit(); } } }
- Build this and run it in QML Profiler.
- On the Events tab, right click and select "Extended Event Statistics".
The QML Profiler will in some lines display "Shortest Time" of 0.000 μ. This is inconsistent with the other data:
Found by Squish test tst_simple_analyze.