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
Try to add import QtQuick.Window 2.2 before all other imports in qml.