2023-08-12 02:42:11 +05:30
|
|
|
#include "MainWindow.h"
|
2012-06-22 12:28:34 +00:00
|
|
|
|
2023-08-12 02:42:11 +05:30
|
|
|
#include <QApplication>
|
2012-06-22 12:28:34 +00:00
|
|
|
|
2023-08-12 02:42:11 +05:30
|
|
|
int main(int argc, char *argv[])
|
2012-06-22 12:28:34 +00:00
|
|
|
{
|
2023-08-12 02:42:11 +05:30
|
|
|
QApplication app(argc, argv);
|
2012-06-22 12:28:34 +00:00
|
|
|
|
2023-09-02 02:29:52 +05:30
|
|
|
// Set the icon in the window title-bar
|
|
|
|
|
// "icon" alias defined in .qrc file
|
|
|
|
|
// (.rc file sets the file icon on mswindows)
|
|
|
|
|
QIcon appIcon(":/icon");
|
|
|
|
|
app.setWindowIcon(appIcon);
|
2023-09-01 14:58:18 +05:30
|
|
|
|
2023-08-12 02:42:11 +05:30
|
|
|
MainWindow window;
|
2023-09-01 14:58:18 +05:30
|
|
|
|
2012-06-22 12:28:34 +00:00
|
|
|
window.show();
|
|
|
|
|
|
|
|
|
|
return app.exec();
|
|
|
|
|
}
|