Beispiel #1
0
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    WMainWindow w;
    w.show();
    
    return a.exec();
}
Beispiel #2
0
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;
}
Beispiel #3
0
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;
}