【问题标题】:Qt Creator: Can not find Qt3DExtras moduleQt Creator:找不到 Qt3DExtras 模块
【发布时间】:2021-09-20 02:21:01
【问题描述】:

我不能从“Qt3D”中包含“Qt3DExtras”模块,它会写一个错误:'Qt3DExtras' file not found。虽然,我安装了qt3d5-devqt3d5-dev-tools 包并将其包含在.pro 文件中:

QT += core gui 3dcore 3dextras 3drender

为什么 Qt Creator 找不到那个文件?

【问题讨论】:

  • 试试:sudo apt install libqt53dextras5
  • 它写它已经安装了。
  • 你是如何安装 Qt5 和 QtCreator 的?
  • 我是从应用中心 Discover 安装的。
  • 你想在 qml 中使用它吗?还是 c++?

标签: c++ qt qt-creator


【解决方案1】:

3dquickextras试试这个

 QT += core qml quick 3dcore  3drender 3dinput 3dquick 3dlogic 3dquickextras 3dextras 

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-02-11
    • 1970-01-01
    • 2012-02-17
    • 2022-11-28
    • 1970-01-01
    • 1970-01-01
    • 2021-05-03
    • 1970-01-01
    相关资源
    最近更新 更多