Discussion:
[Interest] Qt5.6 not recognised by Visual Studio 2015
Tom Isaacson
2016-01-04 23:58:07 UTC
Permalink
I just downloaded the Qt5.6.0 Beta for 32-bit Visual Studio 2015. I installed the Qt5Package extension but when I run Visual Studio 2015 and select "Add New Qt Version" with the path C:\Qt\Qt5.6.0\msvc2015 I get the error "This Qt version uses an unsupported makefile generator (used: MSVC.NETMSBUILD, supported: MSVC.NET, MSBUILD)".

It looks like the beta is reporting the build tool used incorrectly. Is there a simple way I can fix this? Also, is it logged as a bug?

Thanks.

Tom Isaacson
Kalinowski Maurice
2016-01-05 06:18:55 UTC
Permalink
Please contact the maintainer of the "Qt5Package extension". At least on some other thread people stated that it is broken with VS2015 Update1, but I do not have any first level experience with that thing.

Maurice


> -----Original Message-----
> From: Interest [mailto:interest-***@qt-project.org] On Behalf Of Tom
> Isaacson
> Sent: Tuesday, January 5, 2016 12:58 AM
> To: ***@qt-project.org
> Subject: [Interest] Qt5.6 not recognised by Visual Studio 2015
>
> I just downloaded the Qt5.6.0 Beta for 32-bit Visual Studio 2015. I installed
> the Qt5Package extension but when I run Visual Studio 2015 and select "Add
> New Qt Version" with the path C:\Qt\Qt5.6.0\msvc2015 I get the error "This
> Qt version uses an unsupported makefile generator (used:
> MSVC.NETMSBUILD, supported: MSVC.NET, MSBUILD)".
>
> It looks like the beta is reporting the build tool used incorrectly. Is there a
> simple way I can fix this? Also, is it logged as a bug?
>
> Thanks.
>
> Tom Isaacson
>
>
>
> _______________________________________________
> Interest mailing list
> ***@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
Tom Isaacson
2016-01-05 09:46:39 UTC
Permalink
The same problem existed before and after VS2015 Update 1. Also, the extention recognises Qt 5.5.1 with no problem so I was pretty sure it was a change in Qt 5.6.0 that caused this problem. I searched around and eventually found that 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.

Is there a reason this has been split into two files?

-----Original Message-----
From: Kalinowski Maurice [mailto:***@theqtcompany.com]
Sent: Tuesday, 5 January 2016 7:19 p.m.
To: Tom Isaacson <***@navico.com>; ***@qt-project.org
Subject: RE: Qt5.6 not recognised by Visual Studio 2015

Please contact the maintainer of the "Qt5Package extension". At least on some other thread people stated that it is broken with VS2015 Update1, but I do not have any first level experience with that thing.

Maurice


> -----Original Message-----
> From: Interest [mailto:interest-***@qt-project.org] On Behalf Of
> Tom Isaacson
> Sent: Tuesday, January 5, 2016 12:58 AM
> To: ***@qt-project.org
> Subject: [Interest] Qt5.6 not recognised by Visual Studio 2015
>
> I just downloaded the Qt5.6.0 Beta for 32-bit Visual Studio 2015. I
> installed the Qt5Package extension but when I run Visual Studio 2015
> and select "Add New Qt Version" with the path C:\Qt\Qt5.6.0\msvc2015 I
> get the error "This Qt version uses an unsupported makefile generator (used:
> MSVC.NETMSBUILD, supported: MSVC.NET, MSBUILD)".
>
> It looks like the beta is reporting the build tool used incorrectly.
> Is there a simple way I can fix this? Also, is it logged as a bug?
>
> Thanks.
>
> Tom Isaacson
>
>
>
> _______________________________________________
> Interest mailing list
> ***@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
Kalinowski Maurice
2016-01-05 10:41:41 UTC
Permalink
>
> The same problem existed before and after VS2015 Update 1. Also, the
> extention recognises Qt 5.5.1 with no problem so I was pretty sure it was a
> change in Qt 5.6.0 that caused this problem. I searched around and
> eventually found that 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.
>
> Is there a reason this has been split into two files?
>
[Kalinowski Maurice]

Yes, it happened for a reason ;)

The idea is to synchronize settings between classic and WinRT applications. The change is here: https://codereview.qt-project.org/#/c/124917/

If Qt5Package is not able to follow includes, then that should be fixed as it is likely to break elsewhere at some other point.

Maurice

> -----Original Message-----
> From: Kalinowski Maurice [mailto:***@theqtcompany.com]
> Sent: Tuesday, 5 January 2016 7:19 p.m.
> To: Tom Isaacson <***@navico.com>; ***@qt-project.org
> Subject: RE: Qt5.6 not recognised by Visual Studio 2015
>
> Please contact the maintainer of the "Qt5Package extension". At least on
> some other thread people stated that it is broken with VS2015 Update1, but I
> do not have any first level experience with that thing.
>
> Maurice
>
>
> > -----Original Message-----
> > From: Interest [mailto:interest-***@qt-project.org] On Behalf Of
> > Tom Isaacson
> > Sent: Tuesday, January 5, 2016 12:58 AM
> > To: ***@qt-project.org
> > Subject: [Interest] Qt5.6 not recognised by Visual Studio 2015
> >
> > I just downloaded the Qt5.6.0 Beta for 32-bit Visual Studio 2015. I
> > installed the Qt5Package extension but when I run Visual Studio 2015
> > and select "Add New Qt Version" with the path C:\Qt\Qt5.6.0\msvc2015 I
> > get the error "This Qt version uses an unsupported makefile generator
> (used:
> > MSVC.NETMSBUILD, supported: MSVC.NET, MSBUILD)".
> >
> > It looks like the beta is reporting the build tool used incorrectly.
> > Is there a simple way I can fix this? Also, is it logged as a bug?
> >
> > Thanks.
> >
> > Tom Isaacson
> >
> >
> >
> > _______________________________________________
> > Interest mailing list
> > ***@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
>
Tom Isaacson
2016-01-05 19:29:30 UTC
Permalink
> Yes, it happened for a reason ;)
>
> The idea is to synchronize settings between classic and WinRT applications. The change is here: https://codereview.qt-project.org/#/c/124917/
>
> If Qt5Package is not able to follow includes, then that should be fixed as it is likely to break elsewhere at some other point.
>
> Maurice

I'm not saying Qt5Package shouldn't fix this problem - I've commented on the page and CC'd the author on this email. But until they do there's no other way to get Qt5 working with Visual Studio 2015 hence the need for a workaround.

Is there any plan to release the current Qt Visual Studio Add-in for VS2015? Or is it EOL?

Tom
Kalinowski Maurice
2016-01-06 08:22:19 UTC
Permalink
>
> I'm not saying Qt5Package shouldn't fix this problem - I've commented on
> the page and CC'd the author on this email. But until they do there's no other
> way to get Qt5 working with Visual Studio 2015 hence the need for a
> workaround.
>
[Kalinowski Maurice]
What feature are you using from the Qt 5 Package that you cannot use manually by invoking qmake? I assume you are working on the visual studio project itself then and not the .pro?


> Is there any plan to release the current Qt Visual Studio Add-in for VS2015?
> Or is it EOL?
[Kalinowski Maurice]

Microsoft decided to deprecate AddIn support in Visual Studio 2013 and with Visual Studio 2015 all support for it has been removed. We are currently investigating on the efforts to implement a VSPackage. However nothing concrete has been decided yet.

You can also follow progress here: https://bugreports.qt.io/browse/QTVSADDINBUG-404

BR,
Maurice
Loading...