I see. That’s not exactly what I wanted, as it is not going to work starting program with
Component.onCompleted:
Apparently XMLHttpRequest can read local files directly when they are included in resources and since I’m updating that file with QFile, then I have to read it with QFile as well. The question was raised, because http://qmlbook.org/ch11/index.html#local-files [qmlbook.org] and other examples doesn’t mention this restriction regarding location of these files.
↧