Unsolved Compile qt-5.4.1 with vs2017 got error.
-
I got "Invalid option "win32-msvc2017" for -platform" this error message when i use vs2017 to compile qt-5.4.1.
So i want to know how to compile qt-5.4.1 with vs2017?
Is it really not support vs2017? -
@mic19 Try to use win32-msvc2015. VC++2015 and VC++2017 are compatible and I guess when Qt 5.4.1 was released where was no VS2017 yet.
-
This post is deleted! -
@jsulm msvc2015 get the same error
-
@mic19 Can you upgrade to a newer Qt version?
-
@jsulm what can prove that qt5.4.1 is not supported on msvc2017
-
@mic19 One way is to start the online installer, expand the Qt 5.4 subtree and see what is offered there.
-
-
can i just modify some file and compile qt5.41 with vs2017? because change qt version may cause some new problem to my project.
-
@mic19 Did you try win32-msvc2015 for -platform as I suggested before? It should work with VS2017.
-
@jsulm yes, i had try that. but it is a unrecognized version like 'msvc2017'. 'Configureapp.cpp' proves that the max supported version is 2013.
-
@mic19 In this case you either need to downgrade to VS2013 or maybe do some changes in mkspec/what ever to be able to build with VS2017.
-
@mic19
I would suggest you to consider using Qt version 5.6.3That's an LTS version (Long term support) that means 3 year bug fix support (till March 2019) it comes with msvc2013 and 2015 precompiled libs.