Qt之版本问题

error:theres no Qt version assigned to this project for platform win32
解决办法一:

工程中Qt版本未设置

Click-Right slusion
Open Qt Project Settings
View Property->Version Choise Qt Version

Qt版本设置,可以在VS 导航栏 对QT5进行选择Qt版本路径进行设置

解决办法 二:

Open vcxproj file in a notepad++, look for QtVersion...something=... Ensure that the version value is really 5.2.1 (or whatever is your actual QT SDK version).

Qt之版本问题_第1张图片
捕获1.PNG

从SVN上down 下后,由于项目不同人员共同开发,使用不同的Qt版本,导致代码更新时容易改变Qt版本号。

此处:应把Qt5.4.1_msvc2013_opengl 修改为自己工程所需的Qt版本号Qt5.2.1_msvc2012_opengl

你可能感兴趣的:(Qt之版本问题)