2017-03-02 41 views
0

我一直在使用QNX套件,并试图在我的QNX目标运行可执行遵守“帧缓冲” canvas3D的例子,但它抛出以下错误:“QtCanvas3D未安装” erron QNX的目标

./framebuffer & 

[1] 1216519 
QML debugging is enabled. Only use this in a safe environment. 
QQnxScreen: QQNX_PHYSICAL_SCREEN_SIZE variable not set. Could not determine physical screen size. Defaulting to 150x90. 
qrc:/main.qml:39:1: module "QtQuick.Controls" is not installed 
qrc:/main.qml:40:1: module "QtQuick.Layouts" is not installed 
qrc:/main.qml:38:1: module "QtCanvas3D" is not installed 
qrc:/main.qml:39:1: module "QtQuick.Controls" is not installed 
qrc:/main.qml:40:1: module "QtQuick.Layouts" is not installed 
qrc:/main.qml:38:1: module "QtCanvas3D" is not installed 
qrc:/main.qml:39:1: module "QtQuick.Controls" is not installed 
qrc:/main.qml:40:1: module "QtQuick.Layouts" is not installed 
qrc:/main.qml:38:1: module "QtCanvas3D" is not installed 

人建议如何安装这些缺少的模块。我正在使用Qt Crea tor 3.5.1(企业)许可版本。

回答

0

尝试设置路径QML2_IMPORT_PATH= "qml path",这应该在QT安装文件夹中可用。