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

Second run of an application regenerates some qmlc files

    XMLWordPrintable

Details

    • Windows
    • 06ec6340d0eff763e52135afabc13662b3892c43 (qt/qtdeclarative/5.12)

    Description

      Qt Creator's QML Profiler has a QML-based UI which is loaded when Qt Creator starts.
      The first time the application launches, 22 .qmlc files are generated in the cache directory. On the second launch, 13 .qmlc files get regenerated/modified. The first and second versions have the same file name and file size, only a small difference...

      The third and further launches of Qt Creator do not write/modify any qmlc files.
      The first and second launches were done with clean settings pathes:

      bin\qtcreator.exe -noload all -load QmlProfiler -settingspath c:\temp\cleanpath1
      bin\qtcreator.exe -noload all -load QmlProfiler -settingspath c:\temp\cleanpath2
      

      These are the concrete files which get written

      First run:
        qrc:/tracing/TimelineText.qml
        qrc:/tracing/Detail.qml
        qrc:/tracing/ImageToolButton.qml
        qrc:/tracing/RangeDetails.qml
        qrc:/tracing/TimeDisplay.qml
        qrc:/tracing/RangeMover.qml
        qrc:/tracing/SelectionRange.qml
        qrc:/tracing/TimelineRulers.qml
        qrc:/tracing/RowLabel.qml
        qrc:/tracing/CategoryLabel.qml
        qrc:/tracing/TimeMarks.qml
        qrc:/tracing/TimelineLabels.qml
        qrc:/tracing/ButtonsBar.qml
        qrc:/tracing/TimelineContent.qml
        qrc:/tracing/SelectionRangeDetails.qml
        qrc:/tracing/Overview.qml
        qrc:/tracing/MainView.qml
        qrc:/tracing/ImageToolButton.qml
        qrc:/tracing/RangeDetails.qml
        qrc:/tracing/FlameGraphDelegate.qml
        qrc:/tracing/FlameGraphView.qml
        qrc:/qmlprofiler/QmlProfilerFlameGraphView.qml
      
      Second runs:
        qrc:/tracing/ButtonsBar.qml
        qrc:/tracing/TimelineContent.qml
        qrc:/tracing/SelectionRangeDetails.qml
        qrc:/tracing/TimeDisplay.qml
        qrc:/tracing/Overview.qml
        qrc:/tracing/TimelineRulers.qml
        qrc:/tracing/TimeMarks.qml
        qrc:/tracing/RowLabel.qml
        qrc:/tracing/CategoryLabel.qml
        qrc:/tracing/TimelineLabels.qml
        qrc:/tracing/MainView.qml
        qrc:/tracing/FlameGraphView.qml
        qrc:/qmlprofiler/QmlProfilerFlameGraphView.qml
      

      I attached the two versions of the cache directory as qmlc_caches.zip.

      Attachments

        Issue Links

          Activity

            People

              ulherman Ulf Hermann
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: