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. QMap is having issue with quint32 key in Qt 4.8.7
Forum Updated to NodeBB v4.3 + New Features

QMap is having issue with quint32 key in Qt 4.8.7

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 2 Posters 719 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.
  • ankit thakarA Offline
    ankit thakarA Offline
    ankit thakar
    wrote on last edited by
    #1

    Hello All,

    In my project we are using Qt 4.8.7 and we are facing one issue in QMap with key quint32
    for e.g. QHash<quint32, qint32> myhash;
    myhash.insert(1, 1500);

    When I just tried to debug above code in 4.8 version the output is coming as below,!QHash_4.8.7.JPG

    Note :- This problem is not occurring in Qt version > 4.8 and because of our project limitation we can't change the version...

    Any idea about this issue ?

    jsulmJ 1 Reply Last reply
    0
    • ankit thakarA ankit thakar

      Hello All,

      In my project we are using Qt 4.8.7 and we are facing one issue in QMap with key quint32
      for e.g. QHash<quint32, qint32> myhash;
      myhash.insert(1, 1500);

      When I just tried to debug above code in 4.8 version the output is coming as below,!QHash_4.8.7.JPG

      Note :- This problem is not occurring in Qt version > 4.8 and because of our project limitation we can't change the version...

      Any idea about this issue ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @ankit-thakar said in QMap is having issue with quint32 key in Qt 4.8.7:

      quint32

      And this only happens with quint32?
      Also, if you try to get the value key 1: does it work? Could be a problem with debugger.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      ankit thakarA 1 Reply Last reply
      0
      • jsulmJ jsulm

        @ankit-thakar said in QMap is having issue with quint32 key in Qt 4.8.7:

        quint32

        And this only happens with quint32?
        Also, if you try to get the value key 1: does it work? Could be a problem with debugger.

        ankit thakarA Offline
        ankit thakarA Offline
        ankit thakar
        wrote on last edited by
        #3

        @jsulm : yes

        jsulmJ 1 Reply Last reply
        0
        • ankit thakarA ankit thakar

          @jsulm : yes

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ankit-thakar Also, if you try to get the value for key 1: does it work? Could be a problem with debugger.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          ankit thakarA 1 Reply Last reply
          0
          • jsulmJ jsulm

            @ankit-thakar Also, if you try to get the value for key 1: does it work? Could be a problem with debugger.

            ankit thakarA Offline
            ankit thakarA Offline
            ankit thakar
            wrote on last edited by
            #5

            @jsulm :- I tried to print the value for the key " 1 " and it is coming as expected.

            jsulmJ 1 Reply Last reply
            0
            • ankit thakarA ankit thakar

              @jsulm :- I tried to print the value for the key " 1 " and it is coming as expected.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @ankit-thakar Then this is a debugger issue

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              ankit thakarA 1 Reply Last reply
              0
              • jsulmJ jsulm

                @ankit-thakar Then this is a debugger issue

                ankit thakarA Offline
                ankit thakarA Offline
                ankit thakar
                wrote on last edited by ankit thakar
                #7

                @jsulm to whom should I contact for this issue ? I am using GDB 7.9 version

                jsulmJ 1 Reply Last reply
                0
                • ankit thakarA ankit thakar

                  @jsulm to whom should I contact for this issue ? I am using GDB 7.9 version

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @ankit-thakar Is it QtCreator?
                  If it is you could file a bug in Qt bug tracker, but I doubt it will be solved as Qt4 reached end of life long time ago.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  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