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

qrc: add support for "large resources" on iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.4.0
    • None
    • iOS
    • iOS/tvOS/watchOS

    Description

      The following app returns 'true' in Qt-5.3 but 'false' in dev:

      ~/code/projects/test_rcc$ cat main.cpp 
      #include <QtGui>
      
      int main(int argc, char **argv){
           QGuiApplication app(argc, argv);
           qDebug() << QFile(":/main.qml").exists();
           return app.exec();
      }
      
      ~/code/projects/test_rcc$ cat main.qrc
      <RCC>
          <qresource prefix="/">
              <file>main.qml</file>
          </qresource>
      </RCC>
      
      ~/code/projects/test_rcc$ cat test_rcc.pro 
      ######################################################################
      # Automatically generated by qmake (3.0) Mon Mar 31 14:33:40 2014
      ######################################################################
      
      TEMPLATE = app
      TARGET = test_rcc
      INCLUDEPATH += .
      
      RESOURCES += main.qrc
      
      # Input
      SOURCES += main.cpp
      
      ~/code/projects/test_rcc$ cat main.qml 
      This is just s dummy text file
      
      

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            richard Richard Moe Gustavsen
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes