Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.0
-
None
-
visual studio 2022
6.8.0_msvc2022_64
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);