> But still: Why has the behavior been (apparently) changed at all in the > first place? Or is it a bug after all?
It does sound like a bug. Can you please open a bug report at https://bugreports.qt.io ? I would like to know * What is the last version of Qt your example worked correctly with? * What version of Qt broke it? * What is the value of "typeof Controller" in the case where it should show the empty string and in the case where it should show the actual value for the good and for the bad version of Qt. * What type is Controller.successfulSteps * If Controller.successfulSteps is an integer, does the following work? text: typeof Controller === "undefined" ? 0 : Controller.successfulSteps br, Ulf _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest