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

uic compiled into deprecated signature with QDateTimeEdit

    XMLWordPrintable

Details

    • Windows

    Description

      visual studio error while compiling:
      Error    C4996    'QDateTimeEdit::setTimeSpec': Use setTimeZone() instead    project    x64\Debug\uic\ui_project.h 

       
      snippet in generated header:
      deDateEnd = new QDateEdit(widget_3);
      deDateEnd->setObjectName("deDateEnd");
      deDateEnd->setAlignment(Qt::AlignCenter);
      deDateEnd->setCalendarPopup(true);
      deDateEnd->setTimeSpec(Qt::LocalTime);

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            enonrick Yuchien Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes