可以使用qt5compat.graphicalfects,因为它需要一个版本

发布于 2025-01-24 05:07:02 字数 329 浏览 4 评论 0原文

我基于QT 6.2.3使用QT Creator 7.0.0。

为了使用图形效果,我们必须使用以下方法描述的方法: https://doc.qt.io/qt.io/qt-6.2/qtgraphicaleffects5-indexs5-indexex。 html

现在,如果我应用此方法,我可以轻松访问其所有功能并编写QML文件。 当QML文件运行时,会产生“库导入需要版本”错误。

I am using Qt Creator 7.0.0 Based on Qt 6.2.3.

In order to use GraphicalEffects we have to use following method described:
https://doc.qt.io/qt-6.2/qtgraphicaleffects5-index.html

Now, if I apply this method I can easily access all its functionalities and write qml file.
When the qml file is ran it produces "Library import requires a version" error.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文