- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    6.8.0
 - 
    None
 
- 
        
 - 
        8bd87e357 (dev), cec126891 (6.8)
 
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
- resulted from
 - 
                    
        
        QTBUG-124704
        Update documentation for the Qt6 version of QtLite
    
-         
 - Closed
 
 -