Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. when i compile my code with qt5.12.0 or qt5.12.1, it will prompt error, but other ver will not
Qt 6.11 is out! See what's new in the release blog

when i compile my code with qt5.12.0 or qt5.12.1, it will prompt error, but other ver will not

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 947 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.
  • J Offline
    J Offline
    jimfar
    wrote on last edited by aha_1980
    #1

    when i complie my code with qt5.12.0 or qt5.12.1 and using vs2017 .it will prompt error..the error snippet is "tools\msvc\14.15.26726\include\bitset(92): error C2666: 'operator /': 11 overloads have similar conversions".. but other version can build ok .such qt 5.11.1,or qt 5.11.0,qt5.10.0

    RatzzR 1 Reply Last reply
    0
    • J jimfar

      when i complie my code with qt5.12.0 or qt5.12.1 and using vs2017 .it will prompt error..the error snippet is "tools\msvc\14.15.26726\include\bitset(92): error C2666: 'operator /': 11 overloads have similar conversions".. but other version can build ok .such qt 5.11.1,or qt 5.11.0,qt5.10.0

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @jimfar

      Seems like a bug https://bugreports.qt.io/browse/QTBUG-72073

      --Alles ist gut.

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

        Hi,

        To add to @Ratzz finding, It's a compiler bug not a Qt bug.

        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
        2
        • K Offline
          K Offline
          kamel100
          Banned
          wrote on last edited by kamel100
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • J Offline
            J Offline
            jimfar
            wrote on last edited by
            #5

            o ic
            maybe the compiler of VS2017 have a bug for handle this Situation.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jimfar
              wrote on last edited by
              #6

              vs2019 maybe fixed this issue.

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

                That's exactly what is written in the bug report linked by @Ratzz and the corresponding bug report on the VisualStudio community which is also linked in the bug report @Ratzz linked.

                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
                1

                • Login

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