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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes