Configure QML Language Server | Qt Creator Documentation

- Qt Creator Documentation
- Configure QML Language Server
- Qt Creator 19.0.1

Configure Python language servers ◦ Configure language servers for projects

# Configure QML Language Server

Since Qt 6.4, QML Language Server offers code completion and issues warnings for QML.

To set preferences for QML Language Server, go to Preferences > Language Client > General and select QML Language Server.

## Turn off QML Language Server for all projects

To globally turn off QML Language Server, clear the QML Language Server checkbox.

For more information about how to turn on and off language servers for a particular project, see Configure language servers for projects.

## Use advanced features

By default, QML Language Server issues warning messages and provides code completion, while the embedded code model handles advanced features, such as renaming symbols and finding usages.

To disable the embedded code model and use QML Language Server for everything, select Use advanced features.

## Select QML Language Server version

To use QML Language Server shipped with the Qt version in your current kit, select Use qmlls from project Qt kit. This is the default option.

To always use QML Language Server of the highest registered Qt version, select Use qmlls from latest Qt kit.

To use earlier QML Language Server versions, select Allow versions below Qt 6.8.

To use a specific QML Language Server version, set the path to the executable in Use custom qmlls executable. To download the latest QML Language Server version, select Download latest standalone qmlls.

## Automatically configure new CMake projects

To automatically configure new CMake projects that target 6.10 or later, select Enable qmml's CMake integration.

To configure projects that target Qt versions earlier than 6.10:

- Select QT_QML_GENERATE_QMLLS_INI to ON in CMake when you create the project.
- Select Create .qmlls.ini files for new projects targeting Qt < 6.10.

See also Create Qt Quick Applications, How to: Manage language servers, Enabling and Disabling Messages, Building projects with CMake, Managing kits, and Managing language servers.

Configure Python language servers ◦ Configure language servers for projects