可以使用qt5compat.graphicalfects,因为它需要一个版本
我基于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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论