Lot of compilation errors on Qt 5.10



  • Hi,
    I made a multiplatform project (windows /macos).
    Recently i update Qt 5.9.3 to 5.10.0 so it works better on macos
    but on windows (VS 2015) it does not compile, I have lot of compilation errors (102).
    All error message concern qt files (but maybe the problem comes from other files)
    The code is exacly the same on both platform.
    Does anyone has the same problem.
    For now I return to Qt 5.9.3 for windows (but It's not a good solution for me).

    thanks,
    Sorry for my english.



  • I solve the problem, i needed the NOMINMAX define in one of my projects.
    This is strange because I don't need it with Qt 5.9.3 ...


  • Moderators

    @Roy44 said in Lot of compilation errors on Qt 5.10:

    I solve the problem, i needed the NOMINMAX define in one of my projects.
    This is strange because I don't need it with Qt 5.9.3 ...

    Thanks for sharing your solution.

    Can you find out which header requires NOMINMAX? (Double-click the compilation error in Qt Creator)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.