Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4242

Verify that Qt compiles with C++20

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 6.0, 6.1, 6.2
    • None
    • d7795c98e (dev), fe3876517 (6.5)

      The C++20 standard has been released, and compilers have already initial support for it. Moreover, our configure script allows to compile Qt with C++20. We should ensure that those configurations actually work, or at least compile.

      Else we might end up with bugreports like QTBUG-90898.

      Ideally we would compile with gcc, clang and MSVC in C++20 mode, but even using only one of those compilers in C++20 mode would already help tremendously in avoiding breakage. Running tests could be useful to catch some divergence, but is less likely to catch anything interesting.

        For Gerrit Dashboard: QTQAINFRA-4242
        # Subject Branch Project Status CR V

            jujokini Jukka Jokiniva
            fabiankosmale Fabian Kosmale
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: