xiaoniu123 发表于 2019-12-11 16:05:33

哎,装不上

()大鹏 发表于 2020-6-19 13:33:35

{:4_90:}

alvin427 发表于 2020-6-23 18:10:57

Good Study

、饭特稀 发表于 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]

辛晓宇 发表于 2020-11-18 21:45:04

支持

大大方方 发表于 2020-12-8 20:27:45

这次希望能成

gguotou 发表于 2021-2-4 13:53:11

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

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

差不多、先森 发表于 2021-3-8 14:44:44

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

将 static const int layouts =   修改成 static const unsigned int layouts =
再将调用的地方也进行修改为:
const unsigned int *currentLayout = layouts;

libsong 发表于 2021-3-30 22:50:00

{:4_114:}

zcpmcu 发表于 2021-12-7 17:30:42

谢谢分享!!
页: 1 2 3 [4] 5
查看完整版本: Qt程序移植到Firefly开发板(Arm linux)下运行