A problem about QDateTime in Qt 5.9.1
Unsolved
General and Desktop
-
Hi
I upgrade my Qt creator from 5.6.2 to 5.9.1,but one struct hasQDateTime
returnsSegmentation failt
.struct Data_T { .... QDateTime time; };
when I get the
Date_T
member, the project will be broken.
What's the problem of usingQDateTime
in struct?Regards
Mihan -
hi @Mihan
first of, you probably mean Qt not QtCreator, as the QtC version is currently at 4.10.2
2nd, when you update to an 5.9 which is an LTS version I would suggest going to the latest one availableWhat's the problem of using QDateTime in struct?
nothing, a struct is a class, nothing fancy going on here.
Please post more code, and preferably a stack trace of it actually crashing.