Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. which c++ standard get used in QT 5.12 ?

which c++ standard get used in QT 5.12 ?

Scheduled Pinned Locked Moved Solved C++ Gurus
4 Posts 4 Posters 2.1k Views 1 Watching
  • 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.
  • Q Offline
    Q Offline
    Qt embedded developer
    wrote on last edited by
    #1

    I have used c++ with QT 5.12. but i am unaware of that c++ standard for this version can anybody let me know ?

    JonBJ 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Hi,

      Qt 5 requires C++11 to be built however nothing stops you from using a more recent standard if that is required for your project. Just use the adequate CONFIG option to activate it.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      6
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #2

        C++ 17 is used for Qt6. It may be C++11 for QT 5.12

        1 Reply Last reply
        0
        • Q Qt embedded developer

          I have used c++ with QT 5.12. but i am unaware of that c++ standard for this version can anybody let me know ?

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #3

          @Qt-embedded-developer
          You can use a fair number of C++ standards with Qt versions. Are you asking for a list of which ones Qt 5.12 supports? Are you wanting to know whether it works with a particular C++ standard?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #4

            Hi,

            Qt 5 requires C++11 to be built however nothing stops you from using a more recent standard if that is required for your project. Just use the adequate CONFIG option to activate it.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            6

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved