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

QMAKE: Windows: VS2008: RESOURCES instruction triggers "rcc.exe: File does not exist" message when qmake is run from another folder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.4
    • 4.7.3
    • Build tools: qmake
    • None
    • Win7 x64, VS2008
    • a5be47714e5a0075fe9d0ea4a7925136a48e3974

    Description

      QMAKE: Windows: VS2008: RESOURCES instruction triggers "rcc.exe: File does not exist" message when qmake is run from another folder

      Reproduced using qmake 2.01a (in QT 4.7.3)

      Reproducible Steps:

      1. In examples/qmake/tutorial create a hello.pro with the following instructions:

      TEMPLATE = vcapp
      SOURCES += hello.cpp
      RESOURCES += hello.qrc
      

      2. Also, create hello.qrc with the following instructions

      <!DOCTYPE RCC><RCC version="1.0">
              <qresource>
                      <file>Resources/foo.png</file>
              </qresource>
      </RCC> 
      

      3. Change to the parent folder (.../examples/qmake)
      4. Run

      qmake -spec win32-msvc2008 -tp vc tutorial/hello.pro
      

      Many messages appear and the vcproj isn't created properly with foo.png listed as a resource.

      qmake messages:

      c:\temp\Qt\4.7.3\bin\rcc.exe: File does not exist 'tutorial\hello.qrc'
      ...
      

      This bug QTBUG-1918 was reported and closed, but the resolution is unclear, and a comment says to report it again if this is still happening.

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              mmacvicar Mark MacVicar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes