Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122960

Q_ASSERT(res == local) in QDateTime::currentDateTime() on ios

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.6.1
    • Core: Date/Time
    • None
    • iOS/tvOS/watchOS
    • 3
    • Foundations Sprint 102, Foundation Sprint 103, Foundation Sprint 104, Foundation Sprint 105, Foundation Sprint 106, Foundation Sprint 107

    Description

      I'm trying debug my ios app. I use QDateTime::currentDateTime() and get Q_ASSERT(res == local) which occur in QLocalTime func. I'm a little confused, how can res and locale be the same thing? Are two pointers being compared that cannot be equal, because the addresses are always different, or do I not understand something? The contents of these two pointers are absolutely identical.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Eddy Edward Welbourne
            qolzhas Olzhas Zharasbayev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes