qt3dqnxqt3dcanvas3d

Error:: QtQuick packages are not installed


I am trying to execute the canvas3d project on qnx platform. While execution it throws an error as below

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 has imported below

import QtQuick 2.0 import QtCanvas3D 1.0 import QtQuick.Controls 1.0 import QtQuick.Layouts 1.0 Can anyone help me to figure out how can I install this missing modules? I am using Qt Creator 3.5.1(enterprise) licensed version. Thanks in advance.


Solution

  • 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?