找回密码
 立即注册
收起左侧

qml代码在ARM开发板上运行出错

0
回复
5331
查看
[复制链接]

尚未签到

来源: 2015-6-26 09:35:46 显示全部楼层 |阅读模式

马上注册,查看详细内容!注册请先查看:注册须知

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
该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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了