18 lines
339 B
C++
18 lines
339 B
C++
#include "mainwindow.h"
|
|
|
|
#include <QApplication>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
|
|
QFile styleFile(":/stylesheets/stylesheets/style.qss");
|
|
styleFile.open(QFile::ReadOnly);
|
|
QString style(styleFile.readAll());
|
|
a.setStyleSheet(style);
|
|
|
|
MainWindow w;
|
|
w.show();
|
|
return a.exec();
|
|
}
|