Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Lot of compilation errors on Qt 5.10

    General and Desktop
    2
    3
    527
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Roy44
      Roy44 last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Roy44
        Roy44 last edited by

        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 ...

        JKSH 1 Reply Last reply Reply Quote 2
        • JKSH
          JKSH Moderators @Roy44 last edited by

          @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)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply Reply Quote 0
          • First post
            Last post