0

我正在尝试在 qnx 平台上执行 canvas3d 项目。执行时会抛出如下错误

qrc:/main.qml:40:1: module "QtQuick.Layouts" is not installed
qrc:/main.qml:39:1: module "QtQuick.Controls" is not installed
qrc:/main.qml:38:1: module "QtCanvas3D" is not installed

main.qml 已在下面导入

import QtQuick 2.0 import QtCanvas3D 1.0 import QtQuick.Controls 1.0 import QtQuick.Layouts 1.0 谁能帮我弄清楚如何安装这个缺失的模块?我正在使用 Qt Creator 3.5.1(企业)许可版本。提前致谢。

4

1 回答 1

0

I was able to resolve this error by using env variable QML2_IMPORT_PATH. But Now I am getting an error qrc:/main.qml:37:1: module "QtCanvas3D" plugin "qtcanvas3d" not found

Can some one please let me know what can be done for this?

于 2017-03-03T06:04:17.390 回答