在学习《Qt Quick核心编程》4.4.1中的例子时,将书上的代码敲上去运行是空白界面,应用程序输出栏输出
QQuickView only supports loading of root objects that derive from QQuickItem.
If your example is using QML 2, (such as qmlscene) and the .qml file you
loaded has 'import QtQuick 1.0' or 'import Qt 4.7', this error will occur.
To load files with 'import QtQuick 1.0' or 'import Qt 4.7', use the
QDeclarativeView class in the Qt Quick 1 module.
这些话看不太懂,求解答
<<Qt on Android核心编程>>这本书不太适合学Andorid,以为找到了学Android的教科书,买了一看具体内容,讲的都是Wigdet的东西,已经是过时了,现在移动编程主要用QML,也是以后QT发展的趋势,不知楼主是怎么想的,坑啊!强烈建议大家不要购买这本书,买了学了也没用,到时还要去学QML,因此买Qt Quick学习Android才是正道。不赞同楼主为了销量,用Qt on Androidz作为噱头!