int main(int argc, char **argv) { QApplication app(argc, argv); app.setApplicationName("LightMaps"); MapZoom w; w.resize(600, 450); w.show(); return app.exec(); }
int main(int argc, char **argv) { #if defined(Q_WS_X11) || defined(Q_OS_SYMBIAN) QApplication::setGraphicsSystem("raster"); #endif QApplication app(argc, argv); app.setApplicationName("LightMaps"); MapZoom w; #if defined(Q_OS_SYMBIAN) || defined(Q_OS_WINCE_WM) w.showMaximized(); #else w.resize(600, 450); w.show(); #endif return app.exec(); }