Qt 5.6 Beta Visual Studio 2015

為{幸葍}努か 提交于 2019-12-05 02:52:45

The problem seems to be a bug in the extension that concatenates the MAKEFILE_GENERATOR settings.

You might try the following workaround: In QT5.6.0\5.6\msvc2015\mkspecs\common\msvc-desktop.conf line 14 should read: MAKEFILE_GENERATOR = MSVC.NET

After commenting out this line, I was able to add QT Version 5.6.0 via QT5->Options->QT Versions->Add without problem

Everything worked fine after that.

Test it as well , i have already asked the Qt guys they said that the updated version of Qt addin for vs2015 will be out with the release version of qt 5.6.

i quess they don't care about vs2015 that much since they got their own tool to advertise (qtcreator)

The problem is caused by this change https://codereview.qt-project.org/#/c/124917/ which synchronizes settings between classic and WinRT applications.

The workaround I found is in C:\Qt\Qt5.6.0\5.6\msvc2015\mkspecs\common\msvc-desktop.conf. Qt 5.6.0 splits all the version-specific changes into a separate file msvc-base.conf. If you copy the contents of this file and replace the line "include(msvc- base.conf)" in mscv-desktop.conf then Qt5Package recognises the Qt 5.6.0 Beta with no problems.

Note this still needs to be fixed in Qt5Package.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!