[qtgrilo] Support building against QtQuick 2.