Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.1.0 RC2
-
None
Description
QML complains about "Test is not a type" when there is a main.qml and a Test.qml file in the qml directory and main.qml references Test like this:
main.qml:
import QtQuick 1.1
Rectangle {
width: 360
height: 360
Test{
} .....
Test.qml:
import QtQuick 1.1
Rectangle {
color:"blue"
width: 100
height: 62
}
The project was created with the QML 1 template. The kit uses Qt5.1 and gcc 4.7 armeabi-v7. The program runs fine with a desktop kit.
When you delete the android directory and the .pro.user file and reconfigure the program with Necessitas using gcc 4.7 and Qt 4.82, it works fine, even when you load the project wth Qt Creator 2.7.2.