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

QTimeZone not working on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15.0 Beta3
    • 5.14.2
    • Core: Date/Time
    • None
    • Android
    • c53cccc171c2da803cfd247e95c5dd48e5610c3b

    Description

      On Android, constructing a QTimeZone with a IANA id like this

      QTimeZone("Europe/Berlin")
      

      causes a Java excpetion and creates an invalid timezone object.

      W System.err: java.lang.NoSuchMethodError: no non-static method "Llibcore/util/ZoneInfo;.getDisplayName(ZI;)Ljava/lang/String;"
      W System.err: 	at org.qtproject.qt5.android.QtNative.startQtApplication(Native Method)
      W System.err: 	at org.qtproject.qt5.android.QtNative$7.run(QtNative.java:390)
      W System.err: 	at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
      W System.err: 	at java.lang.Thread.run(Thread.java:919)
      

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            mzanetti2 Michael Zanetti
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes