使用 64 位包编译 32 位 Qt 应用程序 [英] Compiling 32-bit Qt application using 64-bit package

查看:82
本文介绍了使用 64 位包编译 32 位 Qt 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Windows 8 64 位,Qt 5.0.2 用于 Windows 64 位和 Visual Studio 2012.

I'm using Windows 8 64-bit, Qt 5.0.2 for Windows 64-bit and Visual Studio 2012.

我在 64 位操作系统上编译和运行我的应用程序没有问题,但显然它在 32 位操作系统上不起作用.有没有办法用我拥有的东西编译 32 位应用程序,或者我应该为 Windows 32 位安装 Qt?(我从 此处 下载 Qt.)

I have no trouble compiling and running my application on 64-bit OS, but apparently it doesn't work on 32-bit OS. Is there a way to compile 32-bit application with what I have, or should I install Qt for Windows 32-bit? (I download Qt from here.)

如果可能的话,我想知道那个选项在哪里.我正在使用 Qt Creator.

If it's possible, I would like a hint at where that option is. I'm using Qt Creator.

推荐答案

64 位库无法实现,但您可以下载并安装相应的Qt 5.0.2 for Windows 32-bit"(您可以在 Creator 中配置目标以安装多个版本的 Qt)

It's not possible with 64bit library, but you can download and install the appropriate "Qt 5.0.2 for Windows 32-bit" (you can configure targets in Creator to have multiple versions of Qt installed)

这篇关于使用 64 位包编译 32 位 Qt 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆