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

Incorrent and incomplete statements about using compiled QML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.0
    • 6.8.0
    • Documentation
    • None
    • All
    • 8bd87e357 (dev), cec126891 (6.8)

    Description

      The page https://doc-snapshots.qt.io/qt6-dev/build-optimized-qt.html needs a few corrections.

      The advice to use

      set_target_properties(
              ExampleApp
          PROPERTIES
              QT_QMLCACHEGEN_DIRECT_CALLS ON
              QT_QMLCACHEGEN_ARGUMENTS "--only-bytecode"
      )
      

      is not correct. QT_QMLCACHEGEN_DIRECT_CALLS is available with the commercial-only Qt Quick Compiler Extensions only. Users who do not use them should also be told what their options are.

      "QT_QMLCACHEGEN_ARGUMENTS "--only-bytecode"" turns off the compilation to C++ in the Qt Quick Compiler and so brings any C++ related optimations out of order.

      See https://doc.qt.io/qt-6/qt-add-qml-module.html for more information

      Attachments

        Issue Links

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

          Activity

            People

              inkamari Inkamari Harjula
              vminenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes