2017-03-02 57 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安裝文件夾中可用。