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

Regression: Cannot run Android project created with 5.2.1 on 5.3.0 (issue with assets)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0 Beta1
    • 5.3.0 Beta1
    • QPA
    • None
    • Android 4.4 / Nexus 7 (2nd gen)
    • Android
    • 3d5234eb9a200752bce8fb2539efeb4d812b3b27

    Description

      Attached is a minimal app created with Qt 5.2.1. If you try to start this using Qt 5.3.0 snapshot it won't work. The code will hang somewhere inside QtQuick2ApplicationViewer::setMainQmlFile(). There are no error messages.

      // main.cpp
      QtQuick2ApplicationViewer viewer;
      qDebug() << "### Before";
      viewer.setMainQmlFile(QStringLiteral("qml/test22/main.qml"));
      // Next line is never called
      qDebug() << "### After";
      

      It looks like it has something to do with loading QML components from assets. If you remove the ScaledText element from main.qml the app will start up normally.

      Tested with latest snapshot: http://mirror.netcologne.de/qtproject/snapshots/qt/5.3/5.3.0-beta/2014-03-20_20/qt-opensource-linux-x64-android-5.3.0-beta_2014-03-20_10-01-06-20.run

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              conny Cornelius Hald
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes