【问题标题】:How to determine which Qt downloads to use如何确定使用哪些 Qt 下载
【发布时间】:2013-12-25 14:45:56
【问题描述】:

在Qt下载页面http://qt-project.org/downloads#qt-creator,我们有

Qt Online Installer for Linux 32-bit (22 MB) (Info)
Qt Online Installer for Linux 64-bit (22 MB) (Info)
Qt Online Installer for Mac (9 MB) (Info)
Qt Online Installer for Windows (13 MB) (Info)
Qt 5.1.1 for Android (Linux 32-bit, 461 MB) (Info)
Qt 5.1.1 for Android (Linux 64-bit, 459 MB) (Info)
Qt 5.1.1 for Android (Windows 32-bit, 716 MB) (Info)
Qt 5.1.1 for Linux 32-bit (417 MB) (Info)
Qt 5.1.1 for Linux 64-bit (415 MB) (Info)
Qt 5.1.1 for Mac (425 MB) (Info)
Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) (Info)
Qt 5.1.1 for Windows 32-bit (VS 2010, 505 MB) (Info)
Qt 5.1.1 for Windows 32-bit (VS 2010, OpenGL, 504 MB) (Info)
Qt 5.1.1 for Windows 32-bit (VS 2012, 511 MB) (Info)
Qt 5.1.1 for Windows 64-bit (VS 2012, 525 MB) (Info)
Qt 5.1.1 for Windows 64-bit (VS 2012, OpenGL, 522 MB) (Info)

Qt libraries 4.8.5 for Windows (minGW 4.4, 317 MB) (Info)
Qt libraries 4.8.5 for Windows (VS 2008, 235 MB) (Info)
Qt libraries 4.8.5 for Windows (VS 2010, 235 MB) (Info)
Qt libraries 4.8.5 for Linux/X11 (230 MB) (Info)
Qt libraries 4.8.5 for Mac (185 MB) (Info) and debug libraries (480 MB) (Info)
Qt libraries 4.8.5 for embedded Linux (230 MB) (Info)
Qt libraries 4.8.5 for Windows CE (269 MB) (Info)

我真的很困惑哪一个对我有好处。 我的情况:

Windows 7 x64,Visual Studio 2012。我想使用的项目(goldendict)使用 VS2012 解决方案文件。我想同时构建 Win32 和 x64 版本。 Windows 的官方版本使用 Qt 4.8.5,所以我不确定 Qt 5 是否会导致问题。官方页面说 gcc 是必需的(但我不确定 gcc 是否仅用于在 Linux 上构建,或者我们在 Windows 上也需要它。)

从上面的列表来看,Qt 4.8.5 只有

Qt libraries 4.8.5 for Windows (minGW 4.4, 317 MB) (Info)
Qt libraries 4.8.5 for Windows (VS 2008, 235 MB) (Info)
Qt libraries 4.8.5 for Windows (VS 2010, 235 MB) (Info)
Qt libraries 4.8.5 for Windows CE (269 MB) (Info)

适用于 Windows。最后一个不是我想要的,我敢肯定。但是带有“minGW”、“VS2008”、“VS2010”的版本??没有版本“VS2012”。与 Qt 5.1.1 不同,Qt 4.8.5 也没有 32 位、64 位版本。

我需要一些指南来确定要使用哪个版本,至少是最有可能的版本。

【问题讨论】:

  • 如果项目没有移植到 Qt5,Qt5 将无法运行。移植到 Qt 5 通常没什么大不了的,但在一个项目中同时支持 Qt4 和 Qt5 仍然有点开销。如果你坚持使用 Qt4+MSVC2012 组合,我建议从源代码编译 Qt,用于 MSVC2012。
  • 你想要这个版本(这不是你给的任何选择):download.qt-project.org/official_releases/qt/4.8/4.8.5/…

标签: windows visual-studio qt


【解决方案1】:

使用在线安装程序。它让您可以选择您想要的组件(例如,用于 VS2012 64 位和 32 位的 Qt)。在线安装程序基本上可以让您组合上面列出的模块。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-04-16
    • 1970-01-01
    • 2017-08-09
    • 1970-01-01
    • 2012-05-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多