Calendar Example shows incorrect date in March
-
Hi, I have recently installed Qt Creator 4.4.0 on Windows 10 together with Qt5.6.2 (msvc2015_64) compiler kit.
I have successfully built and run several of the examples supplied, and most work very well, including the Map Viewer and Planets Example. I can build the Calendar example (Qt Quick Controls) but when it runs, it duplicates a date in March; this year it's March 26th which appears twice. This then offsets the rest of the year by one day. I've had a quick look through the code, and can't see any obvious error in the code.
Can anyone throw some light on this, as it doesn't give me much confidence in the supplied calendar doodah.
Thanks.
-
Hi
this one ?
I cannot make it show anything strange.
(Qt 5.9) -
Nope, this one ... look at March 26th
-
Which one?
I only have one QML sample.
C:\Qt\Examples\Qt-5.9.1\quickcontrols\controls\calendar
-
M:\Software\Qt\Qt5.6.2\Examples\Qt-5.6\quickcontrols\controls\calendar
Do I need to upgrade my compiler kit to 5.9?
-
@Java-the-Hutt
Well you could install it along side 5.6 and see if it was a bug they have fixed.If you dont need 5.6, then please use 5.9 as its also long term supported and
no reason to stay on 5.6.You can use the maintenance tool to easy add/remove Qt versions.
Mutiple can be installed if needed. -
OK, I will try 5.9 to see if it changes things.
Thanks for your help. :)
-
@Java-the-Hutt
super. it seems so but cant promise :) -
M:\Software\Qt\Examples\Qt-5.9.1\quickcontrols\controls
No special reason, I just tried it to see what would happen.....
(5.9.2 kit building 5.6.2 example.....)Starting: "M:\Software\Qt\5.9.2\mingw53_32\bin\qmake.exe" M:\Software\Qt\Qt5.6.2\Examples\Qt-5.6\quickcontrols\controls\calendar\calendar.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
Problem solved, many thanks; I shall now continue being cute.