Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5743

Modified QML files, which are add as a resource file, won't get compiled into binary

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.2.1
    • Quick / QML Support
    • None
    • OS X / Linux Ubuntu

    Description

      I couldn't find a existing bug about this so I made a new one.

      If QML files are added as a resource to a project in Qt Creator, sometimes the modified and saved QML files won't get compiled into a binary. This doesn't happen all the time. Sometimes I have worked on my project for many hours and all the suddenly it starts to skip compiling modified QML files into a binary. Running "Clean" & "Build" makes it compiled into a binary, but this takes too much time.

      Usually this bug only happens to a single file. Modification in another QML file might cause resources to be compiled again, but modification in the "problem" file may not be taken in.

      This bug has been there over a year now. Workaround for the bug is e.g. adding a custom build step which runs "touch <file>" command to any file, which is defined to be as a resource.

      More info: http://zchydem.enume.net/2011/08/04/tip-of-the-day-make-qt-creator-to-compile-qml-files-to-resource-file-on-every-build/

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            zchydem Marko Mattila
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes