Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
linux-gcc-x86_64 qt-qml:4.7 @ 4f77d4f1bebba1627700037bdfce4e74ad84cce8
-
e1aa5c3
Description
The 'Reload' option in the qml binary no longer does anything. Initial investigations indicate that this is due to QDeclarativeView now doing nothing if setSource is called with the same value as the existing source. There does not appear to be any method on QDeclartiveView to reset it, and so some API changes will be needed.
setSource(QUrl()) was tried, but this does not work out of the box - it gives the result of
'ASSERT: "unit" in file /home/aalpert/depot/qt/qt-qml/src/declarative/qml/qdeclarativecompositetypemanager.cpp, line 227'
after the setSource(QUrl()) (but only if setSource had been called before with something non-null).
If setSource(QUrl()) is supposed to work, then the ASSERT may be a different and genuine bug. Otherwise features will need to be added to QDeclarativeView to allow reloading - so that the qml binary can get this feature back.