Hello and welcome to qt-project.org,
first i was very suspicious about your problem, because the QML code should be fine. I’ve tested it using a QtQuick2AppicationViewer, BUT with Qt 5.1, QtQuick 2.0, QtQuick.Controls 1.0 and QtQuick.Layouts 1.0 and it also worked fine. Could you please provide us all the code you used for running this QML like your Viewer?
↧