Qt Widgets Designer 安全注意事项
Qt Widgets Designer 是一款将输入视为可信的开发工具,并非安全边界。
使用Qt Widgets Designer 时,请注意以下风险:
- Qt Widgets Designer 会加载插件以提供自定义控件和扩展。这些插件位于标准插件目录下的名为
designer的子目录中。这可能会导致在您的机器上发生任意代码执行。 .uiQt Widgets Designer 加载的文件可能包含相对和绝对文件系统路径。因此, 可能会读取任意文件,导致机密数据泄露。Qt Widgets Designer
因此,我们建议您仅加载您自己创建的,或来自可信来源的.ui 文件和插件。
另请参阅 《安全使用 Qt 开发工具》。
© 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.