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.
我正在 qt 中创建一个应用程序并使用 cimg 来处理图形。我的问题是我如何将项目 CImg 放在 QWidget 中?
创建一个 QImage,如果 CImg 内部格式是 QImage 支持的选项之一,您可以创建一个使用 CImg 数据而不需要副本的 QImage 包装器 - 否则您可能必须将 CImg 字节复制到 QImage.data