Fraxinus  22.04-rc5
An IGT application
cxMemoryTesterMain.cpp
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #include <string>
12 #include <QApplication>
13 #include "cxMemoryTester.h"
14 
17 int main(int argc, char **argv)
18 {
19  //Q_INIT_RESOURCE(resource); // seems to be uneccesary... need if rc in a lib.
20 
21  QApplication app(argc, argv);
22  app.setAttribute(Qt::AA_DontShowIconsInMenus, false);
23 // app.setWindowIcon(QIcon(":/images/exec.png"));
24  app.setWindowIcon(QIcon(":/images/application.png"));
25 
26  cx::MemoryTester mainWindow;
27  mainWindow.show();
28  mainWindow.activateWindow();
29  mainWindow.raise();
30 
31  int val = app.exec();
32  return val;
33 }
int main(int argc, char **argv)