QT_QMLTC_FILE_BASENAME

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

该特性在 Qt 6.3 引入。

注意: 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.

另请参阅 qmltc-cmake .