从针对Linux / ARM的Windows上的源代码构建Qt

时间:2012-08-31 11:35:59

标签: windows qt arm cross-compiling

我开始在Raspberry Pi交易所发布this帖子,这让我走上了从源头构建Qt的道路。

在关注this stackoverflow questionthis blog post上的示例之后,我可以运行configure.exe并生成没有错误的makefile(虽然这并不意味着我做的一切都完全正确),< strong>但是当我运行make 时出现错误。

这是我当前的设置: MSVC2010作为主机编译器,而Sourcery CodeBench Lite作为交叉编译器。当我运行configure.exe时,我构建了arm-none-linux-gnueabi-g ++。当然,在我尝试构建任何东西之前,我从我正在使用的命令提示符下运行vcvarsall.bat。

以下是问题:生成makefile后,如果我使用jom构建,它将运行大约5分钟,然后以此错误结束:

jom: C:\qt-pi\src\coreLib\Makefile [..\..\lib\libQtCore4.dll] Error 1
jom: C:\qt-pi\src\coreLib\Makefile [all] Error 2
jom: C:\qt-pi\Makefile [sub-sorelib-make_default-ordered] Error 2
jom: C:\qt-pi\Makefile [all] Error 2

有没有人知道我需要做什么来在Windows for Linux / ARM上构建Qt?谢谢!

0 个答案:

没有答案