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

[Reg 6.8.4->6.8.5] Complex QML file cannot be built due to "file too big"

XMLWordPrintable

    • Windows

      The attached sample cannot be built due to "file too big". Here is a summary:

      Build Mode/Qt Version Qt6.8.4 Qt6.8.5 Qt6.10.0
      Debug Fail Fail Fail
      Release Success Fail Fail

      MinGW complains about "file too big". MSVC complains something similar so it should be the same problem.

      Notice that

      target_compile_options(appQt_00774573_685_build_error
          PRIVATE "-Wa,-mbig-obj"
      )
      

      is used in CMakeLists.txt. But even that does not help.

      Admittedly there are excessively many objects defined in PictStatusNotice_36x36.ui.qml, but that is probably automatically generated by QDS. And people may not want to modify it.

        1. QTBUG-141610.7z
          38 kB
          Luqiao Chen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtqmlteam Qt Qml Team User
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes