QT_QMLTC_FILE_BASENAME | Qt Qml | Qt 6.11.0
Description: Specifies a non-default .h and .cpp file name.

- Qt 6.11
- Qt Qml
- CMake Source File Properties in Qt6 Qml
- QT_QMLTC_FILE_BASENAME
- Qt 6.11.0 Reference Documentation

# QT_QMLTC_FILE_BASENAME

Specifies a non-default .h and .cpp file name.

This property was introduced in Qt 6.3.

Note: This property is in technology preview and may change in future releases.

Use this property to specify a non-default `.h` and `.cpp` file name, which helps to resolve conflicting file names.

See also qmltc-cmake.