qt_qmltc_file_basename

指定非默认的 .h 和 .cpp 文件名。

此属性在 Qt 6.3 中引入。

注意: 此属性为技术预览版,在未来版本中可能会更改。

使用此属性指定非默认的.h.cpp 文件名,有助于解决文件名冲突问题。

另请参阅 qmltc-cmake

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.