I am currently dynamically creating a Scale object with Qt.createQmlObject.

Is it possible to do with createObject?
If so, what URL would I give to get the component?