本文介绍了我应该在 Linux 还是 Windows 中交叉编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Linux 上安装 MinGW. 交叉编译您在 Linux 上的 Qt 代码.应生成 Windows 二进制文件 (.exe). 大功告成.在任何带有 Qt 运行时库的 Windows 系统上愉快地执行 exe.
install MinGW on Linux.
cross-compile your Qt code on Linux. A windows binary (.exe) should be produced.
You are done. Happily execute the exe on any windows system with Qt runtime libraries.
要在 Linux 中使用 Qt SDK 创建 .exe,我应该在 Linux 中交叉编译我的应用程序还是在 Windows 中交叉编译我的应用程序?
To create a .exe in Linux using Qt SDK, should I cross compile my application in Linux or cross-compile my application in Windows?
推荐答案你需要在上 Linux,for windows进行交叉编译.
You need to cross compile on Linux, for windows.
希望能解决问题.
jrh
更多推荐
我应该在 Linux 还是 Windows 中交叉编译?
发布评论