gpt4 book ai didi

qt - 如何为 arm-linux-generic-elf-32 创建 QT 版本

转载 作者:行者123 更新时间:2023-12-03 21:37:50 25 4
gpt4 key购买 nike

In my debian linux (with i386 processor).i installed QT creator thats works fine.Also i installed G++ cross compiler to run over another system which is having Debian linux with ARM processor.

Now in QT creator "Tools->Options->Build&Run-->Compilers" i added G++ compiler thats also using "Add" option that also fine.

Now in QT creator "Tools->Options->Build&Run-->Kits" i added new Kit with Name as "G++" , device type as "Desktop" , compiler as "G++ (above step added compiler)" thats also fine.

The problem here is in QT version option.In my QT version option having "QT 5.5.0 GCC 64bit" only. If i select that option it is showing the error because G++ compiler is "arm-linux-generic-elf-32 bit".

It is showing the error like , "The compiler G++ (arm-linux-generic-elf-32 bit) cannot produce code for the QT version QT 5.5.0 GCC 64bit (x86-linux-generic-elf-64bit)" . For me the executable file only enough, no need to run on target directly.

Guide me how to add QT version for arm-linux-generic-elf-32bit

最佳答案

我有类似的问题。最后我发现了我的错误:

在菜单中:
QTCreator/Extras/Einstelungen/编译器
(我猜它是英文的 QTCreator/Tools/Setting/Compiler。)

我单击按钮 Hinzufuegen(“添加”),然后单击 Benutzerdefiniert(“用户定义”),这是错误的。应该是:CCG!!!!!!!!!!!!!!!!!!!!!

之后我还必须将所谓的 ABI 设置为“arm-linux-generic-elf-32 位”

然后我遇到了 Qt Versionen 的问题——它是自己制作的,我无法删除它。所以在“套件”中,我插入了新的 Qt 版本。

它现在以某种方式工作......
有点疯狂...

关于qt - 如何为 arm-linux-generic-elf-32 创建 QT 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33095443/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com