|
该qml文档在ubuntu主机上运行正常,QT版本为5.4.0,开发板上的QT也为5.4.0,但是使用qmlscene加载出现如下错误,好像都跟QString有关,有没有人遇到过类似问题的,告诉下解决方法
root@mm /$ qmlscene /home/user/mycombobox.qml
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
file:///usr/local/qte-arm/qml/QtQuick/Controls/ComboBox.qml:597: Error: Cannot assign [undefined] to QString
file:///usr/local/qte-arm/qml/QtQuick/Controls/ComboBox.qml:597: Error: Cannot assign [undefined] to QString
file:///usr/local/qte-arm/qml/QtQuick/Controls/ComboBox.qml:597: Error: Cannot assign [undefined] to QString
file:///usr/local/qte-arm/qml/QtQuick/Controls/ComboBox.qml:597: Error: Cannot assign [undefined] to QString
file:///usr/local/qte-arm/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml:61: TypeError: Type error
file:///usr/local/qte-arm/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml:61: TypeError: Type error
file:///usr/local/qte-arm/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml:61: TypeError: Type error
file:///home/user/combobox_demo.qml:98:31: Unable to assign [undefined] to QString
file:///usr/local/qte-arm/qml/QtQuick/Controls/Styles/Desktop/GroupBoxStyle.qml:61: TypeError: Type error
file:///usr/local/qte-arm/qml/QtQuick/Controls/GroupBox.qml:177:22: Unable to assign [undefined] to QString
|
|