Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 2.8.1
-
None
-
OSX 10.8.5
Description
This short piece of code causes an strange error message:
code:
import QtQuick 2.1
import QtQuick.Controls 1.0
ApplicationWindow {
width: 800
height: 400
title: "My Title"
}
error message:
Starting /Users/standerovi/Desktop/QT_TESTS/build-TEST06-Desktop_Qt_5_1_1_clang_64bit-Debug/TEST06.app/Contents/MacOS/TEST06...
QML debugging is enabled. Only use this in a safe environment.
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.