Firefly开源社区

12345
发表新贴

Qt程序移植到Firefly开发板(Arm linux)下运行

24

积分

0

威望

0

贡献

技术小白

积分
24
发表于 2019-12-11 16:05:33     
哎,装不上
回复

使用道具 举报

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2020-6-19 13:33:35     
回复

使用道具 举报

209

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
209
发表于 2020-6-23 18:10:57     
Good Study
--你不思故我在
回复

使用道具 举报

37

积分

0

威望

0

贡献

技术小白

积分
37
发表于 2020-7-24 11:59:08     
请问博主编译时遇到这个问题该怎么解决?
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483650u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
};
^
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2415919104u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483649u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483648u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483654u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483653u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483656u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483650u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2415919104u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483649u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483648u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483654u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing conversion of ‘2147483653u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
回复

使用道具 举报

25

积分

0

威望

0

贡献

技术小白

积分
25
发表于 2020-11-18 21:45:04     
支持
回复

使用道具 举报

8

积分

0

威望

0

贡献

技术小白

积分
8
发表于 2020-12-8 20:27:45     
这次希望能成
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2021-2-4 13:53:11     
、饭特稀 发表于 2020-7-24 11:59
请问博主编译时遇到这个问题该怎么解决?
widgets/qdialogbuttonbox.cpp:260:1: 错误: narrowing convers ...

同求,用64位的交叉编译工具也遇到了
回复

使用道具 举报

3

积分

0

威望

0

贡献

吃瓜的群众

积分
3
发表于 2021-3-8 14:44:44     
gguotou 发表于 2021-2-4 13:53
同求,用64位的交叉编译工具也遇到了

将 static const int layouts[2][5][14] =   修改成 static const unsigned int layouts[2][5][14] =
再将调用的地方也进行修改为:
const unsigned int *currentLayout = layouts[orientation == Qt::Vertical][tmpPolicy];
回复

使用道具 举报

17

积分

0

威望

0

贡献

技术小白

积分
17
发表于 2021-3-30 22:50:00     
回复

使用道具 举报

52

积分

0

威望

0

贡献

技术小白

积分
52
发表于 2021-12-7 17:30:42     
谢谢分享!!
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表