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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important 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

      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.

        For Gerrit Dashboard: QTBUG-122960
        # Subject Branch Project Status CR V

            qolzhas Olzhas Zharasbayev
            qolzhas Olzhas Zharasbayev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes