QT_NO_ENTRYPOINT
指定禁止与 Qt 的入口点库进行链接。
该属性于 Qt 6.1 版本中引入。
在某些平台上,Qt 应用程序默认会与 Qt 的入口点库进行链接。该库提供了 main(或 WinMain)函数的实现。
对于必须提供自身入口点的目标平台,请将属性QT_NO_ENTRYPOINT 设置为禁用,以阻止与Qt的入口点库进行链接。
注意:在 Qt 6.12.0之前, 该属性的名称为qt_no_entrypoint 。出于向后兼容性考虑,旧名称仍然有效。
© 2026 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.