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

Cannot compile a project with more than one qrc file

    XMLWordPrintable

Details

    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

        1. Untitled-1.jpg
          1.18 MB
          tom rezek
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            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