Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0
-
None
-
Qt5, Ubuntu
Description
Previously there was an automatic conversion from url to string. In recent builds one needs to use "" + myUrl.
See attached qml file. It works differently in old builds and versions that with recent QtQuick 2.0.
var mP = Qt.resolvedUrl(".") console.log (mP.substr(7)) // does not work: TypeError: Object file:///home/dajansen/Dropbox/QML/BUGS/ has no method 'substr' mP = Qt.resolvedUrl(".") + "" console.log (mP.substr(7)) // works