21 lines
449 B
C++
21 lines
449 B
C++
#include <QApplication>
|
|
#include <QFile>
|
|
#include "src/MainWindow.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
qDebug() << "hello world";
|
|
QApplication a(argc, argv);
|
|
|
|
// Load reMarkable e-ink stylesheet
|
|
QFile styleFile(":/styles/remarkable.qss");
|
|
if (styleFile.open(QFile::ReadOnly | QFile::Text)) {
|
|
a.setStyleSheet(styleFile.readAll());
|
|
styleFile.close();
|
|
}
|
|
|
|
MainWindow w;
|
|
w.show();
|
|
return a.exec();
|
|
}
|