示例#1
0
文件: main.cpp 项目: powerpaul17/qAPV
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    WMainWindow w;
    w.show();
    
    return a.exec();
}
示例#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;
}
示例#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;
}