C

Project.primaryLanguage

Sets the primary language of the application.

Description

The value of this property is used as the default startup language for the Qt for MCUs application.

Usage

This property is accepted in the main application .qmlproject file. It takes a string.

Code example:

Project {
    primaryLanguage: "en"
}

Since

This property was introduced in Qt for MCUs 2.7.

See also Qt Design Studio translations.

Available under certain Qt licenses.
Find out more.