Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. no match for 'operator>' error with Qt 5.11.2 and mingw32-5.3.0

no match for 'operator>' error with Qt 5.11.2 and mingw32-5.3.0

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
11 Posts 4 Posters 4.7k 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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi
    Could you try delete build folder and add
    CONFIG += c++1z
    to the .pro file and see if that helps ?

    F 1 Reply Last reply
    3
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #3

      Probably better to ask the question directly here: https://github.com/parihaaraka/sqt/issues

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      F 1 Reply Last reply
      3
      • mrjjM mrjj

        Hi
        Could you try delete build folder and add
        CONFIG += c++1z
        to the .pro file and see if that helps ?

        F Offline
        F Offline
        fortress
        wrote on last edited by
        #4

        @mrjj
        Hello
        I'm trying this, remained the same mistakes.

        1 Reply Last reply
        0
        • VRoninV VRonin

          Probably better to ask the question directly here: https://github.com/parihaaraka/sqt/issues

          F Offline
          F Offline
          fortress
          wrote on last edited by
          #5

          @VRonin
          if nothing helps, I'll write there.
          Since the error is related to the source files of the environment, and not the project, I believe that the problem is either in my environment or in the project settings.

          aha_1980A 1 Reply Last reply
          0
          • F fortress

            @VRonin
            if nothing helps, I'll write there.
            Since the error is related to the source files of the environment, and not the project, I believe that the problem is either in my environment or in the project settings.

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #6

            @fortress you have MinGW 5.3.0, which is already a bit older. May it be you need a newer compiler?

            Qt has to stay free or it will die.

            F 1 Reply Last reply
            0
            • aha_1980A aha_1980

              @fortress you have MinGW 5.3.0, which is already a bit older. May it be you need a newer compiler?

              F Offline
              F Offline
              fortress
              wrote on last edited by
              #7

              @aha_1980 my Maintenance tool for qt show that there is Qt 5.11.2 pre-built components for mingw32-5.3.0 (32-bit) (installed). Therefore i install tools/mingw32-5.3.0 toolchain. It is possible to install mingw 7.3.0 (64-bit), but my system is 32-bit and no pre-built comoponents for this toolchain.

              aha_1980A 1 Reply Last reply
              0
              • F fortress

                @aha_1980 my Maintenance tool for qt show that there is Qt 5.11.2 pre-built components for mingw32-5.3.0 (32-bit) (installed). Therefore i install tools/mingw32-5.3.0 toolchain. It is possible to install mingw 7.3.0 (64-bit), but my system is 32-bit and no pre-built comoponents for this toolchain.

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #8

                Hi @fortress,

                If I remember correctly, there will be no pre-build 32 bit MinGW version starting from Qt 5.12.

                You can still compile Qt from source yourself, of course.

                Regards

                Qt has to stay free or it will die.

                F 1 Reply Last reply
                1
                • aha_1980A aha_1980

                  Hi @fortress,

                  If I remember correctly, there will be no pre-build 32 bit MinGW version starting from Qt 5.12.

                  You can still compile Qt from source yourself, of course.

                  Regards

                  F Offline
                  F Offline
                  fortress
                  wrote on last edited by
                  #9

                  Hi @aha_1980, now i have install Qt 5.11.2 for both mingw32-5.3.0 and msvc 2015:
                  qtand toolchain mingw 5.3.0 alt text
                  Also installed MSVC 2015 Community edition.
                  Building project in QtCreator with toolchain MSVC 2015 is successfull. Also some libs (as suggested by the author) on which this project depends, are built with msvc compiler. So, its only way to build this project is use MSVC toolcain.

                  But, i suppose if i have Qt pre-built for mingw and mingw same version, all must compile without errors. So, i suppose a problem may be either building environment or project settings (compiler/linker flags, etc).

                  I think I can try to create a simple project that will use <thread> and check how it will be compiled.

                  1 Reply Last reply
                  0
                  • aha_1980A Offline
                    aha_1980A Offline
                    aha_1980
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    Hi @fortress,

                    your conclusion is good, however neiter MSVC 2015 nor GCC 5.3 are full C++17 capable. So some C++17 features might work, others will not.

                    I think I can try to create a simple project that will use <thread> and check how it will be compiled.

                    Probably a good idea :)

                    Qt has to stay free or it will die.

                    1 Reply Last reply
                    0
                    • aha_1980A Offline
                      aha_1980A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      Hi @fortress,

                      your conclusion is good, however neiter MSVC 2015 nor GCC 5.3 are full C++17 capable. So some C++17 features might work, others will not.

                      I think I can try to create a simple project that will use <thread> and check how it will be compiled.

                      Probably a good idea :)

                      Qt has to stay free or it will die.

                      1 Reply Last reply
                      0

                      • Login

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