main.cpp 302 B

12345678910111213141516171819
  1. #include <QtGui/QApplication>
  2. #include "mainwindow.h"
  3. #include "mapwidget.h"
  4. int main(int argc, char *argv[])
  5. {
  6. QApplication a(argc, argv);
  7. MainWindow w;
  8. //MapWidget w;
  9. w.showFullScreen();
  10. #if defined(Q_WS_S60)
  11. w.showMaximized();
  12. #else
  13. w.show();
  14. #endif
  15. return a.exec();
  16. }