Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I'm using the calendar widget in Qt Designer and it is showing the wrong Time Zone (changes day 6 hours too early). Can anyone tell me how to set it to the correct time zone using "ui->calendarWidget->" ?
Hi,
AFAIK, there's no notion of time zone in QCalendarWidget, it should follow your system. Are you sure your OS is setup correctly (e.g. locale) ?
Win 7 and it is set to Mountain Time Zone (Qt v4.8). I had the same problem using QDateTime and I had to run
QTime time1 = time.addSecs(-3600*6);
No other options I tried would work.