I\'m using Qt 5.4.1 in QtCreator 3.3.1
I\'ve imported QtQuick.Controls 1.2 into my QML and added a series of buttons:
Rectangle { id: buttonBar x
I moved these imports to the top, before any other import and problem got resovled:
import QtQml.Models 2.2 import QtQml 2.2