aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlqt/data/resolvedUrl.qml
blob: 06ef48b82b646d8748b32515c18f27c94456d186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import QtQuick 2.0

QtObject {
    property string result
    property bool isString: false

    Component.onCompleted: {
        var a = Qt.resolvedUrl("resolvedUrl.qml");
        result = a;
        isString = (typeof a) == "string"
    }
}