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

Cannot compile a project with more than one qrc file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.4.0 RC
    • Fix Version/s: 5.4.0
    • Labels:
      None
    • Environment:
      Windows, qt creator 3.3rc

      Description

      error when using more than one qrc in project is "redefinition of qInitResources_C" in qtquickcompiler_loader.cpp:

      int QT_MANGLE_NAMESPACE(qInitResources_C)() {
          QtQuickCompilerGeneratedModule::registerCompilationUnits();
          Q_INIT_RESOURCE(rssnews_qtquickcompiler);
          return 1;
      }
      int QT_MANGLE_NAMESPACE(qInitResources_C)() {
          QtQuickCompilerGeneratedModule::registerCompilationUnits();
          Q_INIT_RESOURCE(rssnews2);
          return 1;
      }
      

      Screen shot shows how project "rssnews" was altered to use 2 qrc files and thus create error.

        Attachments

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

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            tom@thesl.com tom rezek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes