blob: aa57c73627c82cb58455ea46c2b225c8465b48bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import QtQuick 2.0
QtObject {
property string result
property bool isString: false
property bool isObject: false
Component.onCompleted: {
var a = Qt.resolvedUrl("resolvedUrl.qml");
result = a;
isString = (typeof a) == "string"
isObject = (typeof a) == "object"
}
}
|