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

Invalid VS project file created when two resource files defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 4.8.4
    • Build tools: qmake
    • None
    • Windows
    • 6ce4342b8c44c533fbe471d925ff412cd3f3df46 04d3a89e20d49a3b5015b071bfdedc81973b090c

    Description

      qmake produces an invalid vcxproj file if there are two resource files defined for a project: one for debug and one for release. When opening the VS project there will be an error stating that the project file can not be loaded, there are multiple root elements. Same definition works when the project is compiled with Creator or in command line. The issue can be reproduced with the following definition:

      CONFIG(debug, debug|release) { 
          RESOURCES += application_d.qrc 
      } else { 
          RESOURCES += application.qrc 
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-30373
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes