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

Documentation incorrect for QDateTime

XMLWordPrintable

    • Windows
    • f6bce4fc0ce015d089bb176403b7b196a73bff3e (qt/tqtc-qtbase/tqtc/lts-5.15.3)

      Qt LTS version: 5.15.2

      URL: https://doc.qt.io/qt-5/qdatetime.html

      in "Static Public Members" section

      for fromString() method, it has 3 overload functions, but only 2 in the document.

      In file: qdatetime.h  382 line:

      #if QT_CONFIG(datestring)
      static QDateTime fromString(const QString &s, Qt::DateFormat f = Qt::TextDate);
      static QDateTime fromString(const QString &s, const QString &format);
      static QDateTime fromString(const QString &s, const QString &format, QCalendar cal);
      #endif

       

      also in Qt Assistant 5.15.2, it has the same problem, 1 overload function is missing.

       

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

            vertries Nico Vertriest (Inactive)
            wujian_mail wujian_mail
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes