Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个本地 html 文件,我正在尝试使用 QTWebKit 查看,文件中有一些类型为“.ico”的图像,这似乎 QTWebKit 无法呈现它们,因为它提供了一个问号图标。
我尝试在 Firefox 中打开 html 文件,它工作正常,所有图像都被渲染。
我的问题是,QTWebKit 是否支持 ico 图像,如果支持...我应该怎么做才能让 webkit 呈现 ico 图像?
问候
难道你的 Qt 是在没有 ICO 支持的情况下构建的?在 Qt ICO 中通常是一个图像插件。检查它是否存在于您的 Qt 安装中 ($prefix/plugins/imageformats/)