A problem about QDateTime in Qt 5.9.1
-
Hi
I upgrade my Qt creator from 5.6.2 to 5.9.1,but one struct hasQDateTimereturnsSegmentation failt.struct Data_T { .... QDateTime time; };when I get the
Date_Tmember, the project will be broken.
What's the problem of usingQDateTimein struct?Regards
Mihan -
Hi
I upgrade my Qt creator from 5.6.2 to 5.9.1,but one struct hasQDateTimereturnsSegmentation failt.struct Data_T { .... QDateTime time; };when I get the
Date_Tmember, the project will be broken.
What's the problem of usingQDateTimein struct?Regards
Mihanhi @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.