C++ 下载哪个Qt?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16164805/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Which Qt to download?
提问by Soldier
I am new to C++ and have been working with MS VISUAL STUDIO 2010 Express. However, I am in need to shift to Qt as my university recommends. Unfortunately, the qt.nokia.com is redirecting to another site http://qt.digia.com/.
我是 C++ 新手,一直在使用 MS VISUAL STUDIO 2010 Express。但是,我需要按照我的大学的建议转向 Qt。不幸的是,qt.nokia.com 正在重定向到另一个站点http://qt.digia.com/。
Since everything in that site is not free, I found the following link called "Qt Open Source Version". Is this is the site to download Qt?
由于该站点中的所有内容都不是免费的,因此我找到了以下名为“ Qt 开源版本”的链接。这是下载Qt的网站吗?
When I go there, I can see various options, which means number of downloads. I have windows 7 ultimate and got visual studio 2010 express installed in my machine. But, this site got number of windows downloads. I prefer the one which claims to come with the Qt IDE (Qt Creator??). If you need further more information, I will be using this Qt GUI C++ applications with OpenCV.
当我去那里时,我可以看到各种选项,这意味着下载次数。我有 Windows 7 Ultimate 并在我的机器上安装了 Visual Studio 2010 express。但是,该站点获得了 Windows 下载的数量。我更喜欢声称带有 Qt IDE(Qt Creator??)的那个。如果您需要更多信息,我将在 OpenCV 中使用此 Qt GUI C++ 应用程序。
I have already installed OpenCV and it works with VS so if you can, please tell me how to set it up with Qt as well.
我已经安装了 OpenCV 并且它可以与 VS 一起使用,所以如果可以,请告诉我如何使用 Qt 进行设置。
Please help me to download the correct version of Qt. Thanks
请帮我下载正确版本的Qt。谢谢
采纳答案by masoud
Answering to these kind of question is always hard and dangerous!
回答这类问题总是困难而危险的!
I know you had experiences with VS but I'm going to offer you to choose MinGW instead.
我知道您有使用 VS 的经验,但我将建议您选择 MinGW。
回答by Paul
qt-project is the correct place to get open source Qt.
qt-project 是获取开源 Qt 的正确位置。
There are prebuilt binaries of Qt 5.0 for VS2012, but if you want to use Qt 4.8 with VS2012 you'll need to compile it yourself, as there are no prebuilt binaries for VS2012 (yet?). Compiling Qt is not difficult, just open command prompt for VS2012, run configure --help
to find out how you can customize your Qt build. Then run configure
with appropriate parameters, then nmake
.
VS2012 有预构建的 Qt 5.0 二进制文件,但是如果您想在 VS2012 中使用 Qt 4.8,您需要自己编译它,因为 VS2012 没有预构建的二进制文件(还没有?)。编译 Qt 并不难,只要打开 VS2012 的命令提示符,运行configure --help
以了解如何自定义 Qt 构建。然后configure
使用适当的参数运行,然后nmake
.
If you decide to use Qt Creator as an IDE you are welcome to do it - Qt Creator can compile projects using different compilers, including VS2012 compiler. But in order to debug projects compiled with VS2012 compiler you'll either need to use VS2012 or install Debugging Tools for Windows(which Qt Creator will find and use to debug VS2012-generated executables).
如果您决定使用 Qt Creator 作为 IDE,欢迎您这样做 - Qt Creator 可以使用不同的编译器编译项目,包括 VS2012 编译器。但是为了调试使用 VS2012 编译器编译的项目,您需要使用 VS2012 或安装Windows 调试工具(Qt Creator 将找到并用于调试 VS2012 生成的可执行文件)。
回答by Lefteris E
http://qt-project.org/downloads
http://qt-project.org/downloads
Qt 5.0
Qt 5.0
Select the file according to your operating system from the list below to get the latest Qt 5.0 for your computer. The binary packages include Qt 5.0.2 librariesand Qt Creator 2.7.0
根据您的操作系统从下面的列表中选择文件,以获得适用于您计算机的最新 Qt 5.0。二进制包包括Qt 5.0.2 库和Qt Creator 2.7.0
Qt 5.0.2 for Windows 32-bit (VS 2010, 485 MB)
适用于 Windows 32 位的 Qt 5.0.2(VS 2010,485 MB)