安装多个版本的 Qt 库 [英] Installing multiple versions of Qt library
问题描述
我已经在 windows 中安装了 QtSDK,它的 Qt 库版本是 4.7.0.现在我想为 mingw 和 VS2008 安装 Qt 库版本 4.8.2.我怎样才能做到这一点?QtCreator如何引入多个版本?
I have installed QtSDK in windows and its Qt library version is 4.7.0. Now i want to install Qt library version 4.8.2 for mingw and VS2008. How can i do this? How to introduce multiple versions to QtCreator?
注意:我已经从 http://qt.nokia.com/downloads 下载了库>
Note : I have downloaded libraries from http://qt.nokia.com/downloads
推荐答案
当然可以.只需在不同的位置提取库,并设置 Qt Creator 也使用这些库.你可以在这里找到方法:http://doc.qt.io/qtcreator/creator-project-qmake.html.
Sure you can. Just extract the libraries in a different location and set Qt Creator to use those as well. You can find how here: http://doc.qt.io/qtcreator/creator-project-qmake.html.
然后您可以在每个项目的属性中选择要使用的配置进行编译.
You can then choose which configuration to use to compile in the properties of each project.
这篇关于安装多个版本的 Qt 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!