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

Qt Widgets Designer is using deprecated API (Qt::TimeSpec)

XMLWordPrintable

    • 7d5a65041 (dev), 90b2747ce (6.9)

      Steps to reproduce the issue:
      1. Create a Qt Widget project with .ui file generated
      2. Edit .ui file in Widget Designer
      3. Add a QDateTimeEdit to .ui file
      4. Change its timeSpec property

      But "timeSpec" should not be there anymore. It's going to be deprecated:
      https://doc.qt.io/qt-6/qdatetimeedit.html#timeSpec-prop
      Qt Creator also warns about this:

      So what has to be done is replacing timeSpec with timeZone. Right now, manually changing the content of "ui_mainwindow.h" helps. But it's better to do it in a more "standard" way - fix the Widget Designer.

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

            kleint Friedemann Kleint
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes