Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32170

Android: Support implicit loading of assets in Qt Quick 1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.1.0 RC2
    • QPA
    • None
    • Android

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rampe Rami Potinkara
            walterroth Walter Roth
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes