The module QtQuick.Controls
has been added on Qt 5.1
and is currently at the 1.0
version. It also requires you having QtQuick
version 2.0, introduced with Qt 5
So if you want to use TableView
you would have to update your current Qt
version to at least 5.1 and then use these import
statement:
import QtQuick 2.0
import QtQuick.Controls 1.0
Also, as indicated by Armaghast in the comment, if you are moving to the latest Qt version (currently Qt 5.2.1) you should use
import QtQuick 2.2
import QtQuick.Controls 1.1