summaryrefslogtreecommitdiff
path: root/manual tests/6 qt4/main.cpp
blob: 30fcd4b288b3b4b56568dfb0d0fe8b072cce0e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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;
  }
  QImage qi2(":/thing2.png");
  if(qi2.width() != 640) {
      return 1;
  }
  win->setWindowTitle("Meson Qt4 build test");

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