Hello Friends,
is it meanwhile possilble to make QtCreator be aware for code completition for dynamically generated qml objects through
How do you manage intelissense for dynamic object? Is there a workaround?
Yours,
Hello Friends,
is it meanwhile possilble to make QtCreator be aware for code completition for dynamically generated qml objects through
How do you manage intelissense for dynamic object? Is there a workaround?
Yours,
Objects in JavaScript do not have a "type" thus you can assign objects with different APIs to the same variable. In a general case it is not possible to trace the current assignment in an IDE.
Consider the following:
javascript Code:
var obj = Math.random() > 0.3 ? (Qt.createComponent(Math.random() > 0.5 ? "File1.qml" : "File2.qml")) : new Date()To copy to clipboard, switch view to plain text mode
codeman (13th March 2014)
Bookmarks