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

When qrc file is located in OUT_PWD (or its subdir) qmake incorreclty resolves dependencies by searching files in PWD

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.0.2
    • None
    • Windows 7 64bit, Qt 5.0.2 MinGW and MSVC2010 32bit

      Look at the project in bug1 and see the difference for rules in Makefile that are generated for resource files aaa.qrc (not in OUT_PWD) and res.qrc (in OUT_PWD). There is no denendency generated for 1.txt in the rule for qrc_res.cpp and it does get generated for qrc_aaa.cpp.
      res.qrc and aaa.qrc are indetical.

      bug2 differs from bug1 only in that I've added 1.txt to PWD.
      The dependecy for it gets generated! It's clearly a bug.

      Notice - when .qrc is compiled files are found as they should, releative to resource file. The bug affects only dependency generation and not resource compiling. So I'm not sure who is in falt, qmake or rcc.

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

            buddenha Oswald Buddenhagen
            mgsxx Sergey Skoblikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes