简体   繁体   中英

Qt 5.12.0 MinGW 7.3 w64 cross compile from windows 64 to windows x86

I have recently updated Qt to v 5.12.0. This version includes MinGW 7.3 W64 and there is not option to download MinGW 7.3 W32 as in previous version of Qt (see image below).

Qt 安装程序可用工具

I've built my application using QtCreator 4.8.1, and it was built without issues, however I noticed that my binary file is in 64 bits, and not in 32 bits like in previous version of Qt.

My problem is that I want to build my application for x86 platforms, but I can't find any options in Qt to do that. How can I cross compile my app for x86 using MinGW 7.3 w64 and QtCreator?

FYI: My OS is Windows 10 x64.

It is possible to download the 32-bit version of mingw-64 separately

sourceforge.net

After that you should configure your Qt Kits in Qt Creator.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM