aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks/4 qt5/main.cpp
blob: 41d7d70168b12c927bd920a4522b4b298709d20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <QApplication>
#include "mainWindow.h"

int main(int argc, char **argv) {
  QApplication app(argc, argv);
  MainWindow *win = new MainWindow();
  QImage qi(":/thing.png");
  if(qi.width() != 640) {
      return 1;
  }
  win->setWindowTitle("Meson Qt5 build test");

  win->show();
  return app.exec();
  return 0;
}