Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-130

Resources are not always compiled if resource file is modified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.3.0
    • 1.1.11
    • General
    • None
    • Windows 7, Qt4.8.0 and 4.8.2, Visual Studio 2010
    • 4258a3d3e19d1948e80cc5f4ea228e5f47d774bf

    Description

      Steps to reproduce with attached qrc_test example:
      1. Open project in Visual Studio
      2. Compile
      3. Modify file1.
      4. Compile (F7)
      -> qrc_xxx.cpp is modified

      5. Add file2 to qrc
      6. Compile (F7)
      7. Modify file2
      8. Compile (F7)

      -> qrc_xxx.cpp is not modified to reflect changes made to file2 because file2 dependency is not in *.vcxproj, only file 1 is. Even rebuilding the whole solution does not add file2 dependency to *.vcsproj -file.

      As a workaround you can import *.pro file again to regenerate *.vcxproj after you have added file to qrc, or add dependensy otherwise ti *.vcxproj.

      Attachments

        Issue Links

          Activity

            People

              mecfc Miguel Costa
              qtcomsupport Qt Support
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: