qt_qml_generate_qmlls_ini_noo_cmake_calls
此变量在 Qt 6.10 中引入。
QT_QML_GENERATE_QMLLS_INI_NO_CMAKE_CALLS
是一个布尔值,用于控制使用QT_QML_GENERATE_QMLLS_INI选项生成的.qmlls.ini
文件中的no-cmake-calls
值。将其设置为ON
可禁用 CMake 调用QML Language Server 。
由于此变量用于集成开发环境,通常不应在项目中设置,而应通过集成开发环境或手动通过
-DQT_QML_GENERATE_QMLLS_INI=ON -DQT_QML_GENERATE_QMLLS_INI_NO_CMAKE_CALLS=ON
传给 cmake 可执行文件。
如果禁用了QT_QML_GENERATE_QMLLS_INI,此变量将不起作用。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.