Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1359

Must build twice to have Qbs run Qt's rcc on resource files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.11.1
    • Fix Version/s: 1.12.0
    • Component/s: Dependency Tracking
    • Labels:
      None
    • Environment:
      KDE Neon 16.04
    • Commits:
      bf7cc41694a20f013adb6c4add0fb3c50d84a4e8

      Description

      I have a large Qbs project with several libraries and applications. Some libraries and applications use the Qt resource files to bundle qml files etc.

      If I have a "large" set of changes before building, Qbs will sometimes not run rcc. When I then build again, rcc will be run, the resulting files will be compiled and the applications are linked again.

      This often happens if I get lots of changes from git - it's not that obvious when working on just a few files at a time. Seems like it's triggered when we have changes in both .cpp/.h files as well as the files only listed inside the .qrc files.

      Currently our workaround is to always build twice to be sure.

      Please let me know where to start looking to figure out this one (enable logging, ...?)

       

        Attachments

        1. logfiles_qbs_1.12.tar.gz
          3.44 MB
        2. QBS-1359.sh
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            olathorsen Ola Røer Thorsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes