VS2013 平台下搭建 QT5.3 开发环境

QT 越来越成熟,所以搭建VS环境也越来越容易。

搭建环境:

VS2013

QT5.3:Qt 5.3.2 for Windows 64-bit

VS QT插件:Visual Studio Add-in 1.2.3 for Qt5

 

插件上选择QT的安装目录:

QT5 -> QT Options

 

注意路径:<安装目录>\5.3\msvc2013_64_opengl

安装插件很简单,一开始使用的是32位版本的QT,然后编译的时候报错了,大致意思是编译32位版本不行。后来下载了64位版本。

居然还是不行,编译弹窗报错:

 

---------------------------

Qt Visual Studio Add-in

---------------------------

The following error occured:

There's no Qt version assigned to this project for platform x64. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.

---------------------------

确定  

---------------------------

解决办法是:

QT5 -> Qt Project Settings

把 Version 改为你添加的QT版本就好了。

posted on 2016-02-20 11:27  farbeyond  阅读(1560)  评论(0编辑  收藏  举报