Specify the C++ standard to use when processing the files listed in the InterfaceFiles block of the QML project file.


Use this option if you want to use a newer C++ standard than the default for the interface files. Refer to the Clang documentation of the "-std" language selection command line option for the possible values: https://clang.llvm.org/docs/CommandGuide/clang.html

Keep in mind that some of the latest versions might not be supported by Qt for MCUs, as it's not necessarily using the latest version of Clang.


qmlprojectexporter --cxx-standard c++17 --platform tviic2d4m-baremetal --outdir output-dir my_project.qmlproject


This option was introduced in Qt for MCUs 2.7.1

Available under certain Qt licenses.
Find out more.