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

qmlcachegen not getting invoked on qmake for yocto builds

    XMLWordPrintable

Details

    • Linux/Yocto

    Description

      This issue was primarily reported by GEHC, where-in they recently migrated from Qt 5.15 to Qt 6.5.7 and are using qmake based system in Qt 6.5.7.

      As part of performance optimization, they were trying to use qmlcachegen to speed up the execution and the qmlcachegen dosen't seem to get invoked during building their application. 

       

      Tested in below environment and below are the steps to reproduce

      1. Download Boot2Qt 6.5.7 for Toradex Applais iMX6
      2. Open the project (DropDownWidgetTest) from the attachment using *.pro file
      3. Edit the *.pro file and add/enable CONFIG += qtquickcompiler
      4. Build the project and we can see in the makefile that the qmlcachegen is not getting invoked and they are not converted to cpp
      5. Open the same application (DropDownWidgetTest) using Desktop Qt 6.8.1 MinGW 64-bit
      6. Edit the *.pro file and add/enable CONFIG +=qtquickcompiler
      7. Build the project and we can see in the makefile that the qmlcahcegen is getting invoked and the qml files are converted to cpp.

      Attachment has both the makefiles for Boot2Qt Toradex Appalis iMX6 and Desktop Qt 6.8.1 MinGW 64-bit

      Attachments

        1. DropDownWidgetTest_src.7z
          51 kB
          Nitish Davey
        2. Makefile_Boot2Qt_6_5_7_Apalis_iMX6
          117 kB
          Nitish Davey
        3. Makefile_Desktop_6_8_1_MinGW
          57 kB
          Nitish Davey
        4. Makefile_Desktop_6_8_1_MinGW.Debug
          56 kB
          Nitish Davey
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            ndavey Nitish Davey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes