Files
llink/main.cpp
T
2026-01-24 11:21:31 -08:00

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();
}