hi guys,

i'm a Qt developer new to qt.

i'm using Qt 4.6.2

i'm working on xburst processor.
i have made one app which shows the Calender using QCalendarWidget.
but i have a problem that when i run this app it is not showing the Month name and Day name.
i have changed the HorizontalHeaderFormat for test . but still it is not showing the month ,day name

Qt Code:
  1. int main(int argc, char *argv[])
  2. {
  3. QApplication app(argc,argv);
  4.  
  5. QWidget *widget = new QWidget;
  6.  
  7. QCalendarWidget * calendarWidget = new QCalendarWidget(widget);
  8.  
  9.  
  10. calendarWidget->setObjectName(QString::fromUtf8("calendarWidget"));
  11.  
  12.  
  13. QFont font;
  14. font.setPointSize(30);
  15. font.setFamily(QString::fromUtf8("Times"));
  16. font.setBold(false);
  17.  
  18. calendarWidget->setFont(font);
  19. //calendarWidget->setHorizontalHeaderFormat(QCalendarWidget::SingleLetterDayNames);
  20. calendarWidget->setVerticalHeaderFormat(QCalendarWidget::NoVerticalHeader);
  21. calendarWidget->setGridVisible(true);
  22. calendarWidget->setNavigationBarVisible(true);
  23. calendarWidget->resize(800,480);
  24.  
  25.  
  26. widget->resize(800,480);
  27. widget->move(0,0);
  28. widget->setWindowFlags( widget->windowFlags() |Qt::FramelessWindowHint);
  29.  
  30. widget->show();
  31.  
  32. return app.exec();
  33. }
To copy to clipboard, switch view to plain text mode 



plz help

thank you