int main(int argc, char *argv[]) { QApplication a(argc, argv); WMainWindow w; w.show(); return a.exec(); }
int main(int argc, char **argv) { QApplication qapp(argc, argv); QLocale::setDefault(QLocale::system()); WMainWindow *mainwindow = new WMainWindow(); mainwindow->show(); const int result = qapp.exec(); delete mainwindow; return result; }
int main(int argc, char **argv) { QApplication qapp(argc, argv); csPDFium::initialize(); WMainWindow *mainwindow = new WMainWindow(); mainwindow->show(); const int result = qapp.exec(); delete mainwindow; csPDFium::destroy(); return result; }