I just realized that (according to some QML Bugreport) there is JSON Delegate for ListView missing. So I have two choices, fill it up by model created in Javascript or C++
Due to advice from mouli@irc.freenode.net#qt do this:
file: gui.qml
import "script.js" as Script model: ListModel { id: list_model_id }
file: script.js
function makeList(id){ id.append({"name":"value1"}); id.append({"name":"value2"}); }
call:
Script.makeList(list_model_id)