mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
21 lines
406 B
C++
21 lines
406 B
C++
#include "mainwindow.h"
|
|
|
|
#include <QApplication>
|
|
#include <QFontDatabase>
|
|
#include <QTranslator>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
|
|
QFile file(":/style.css");
|
|
file.open(QFile::ReadOnly);
|
|
a.setStyleSheet(file.readAll());
|
|
a.setWindowIcon(QIcon(":/resource/Icons/planeCustom.png"));
|
|
MainWindow w;
|
|
|
|
w.initialize();
|
|
w.show();
|
|
return a.exec();
|
|
}
|