c++/cli compilation problem after Qt 5.12.1 migration
I have a c++/cli project that works before with Qt 5.6 and Qt 5.9.
And now after a migration to Qt 5.12.1 the compilation of the project does not work anymore.
I have 2 errors :
- C2440 : reinterpret_cast: cannot convert from 'nullptr' to 'quintptr' : line 109 from file qhashfunctions.h
- C1189 : #error: <future> is not supported when compiling with /clr or /clr:pure.
I try to recompile with Qt5.6.1 or Qt 5.9.1 and it works.
Anyone have an idea why it does not work with Qt 5.12.1?
I guess you changed the compiler too. Can you tell us which compiler corresponds the these Qt versions?
Hello @aha_1980 ,
Thank you for your answer. I did not change my compiler : Visual Studio 2015.