add timer to run the xlib loop
[projets/fookb-qt.git] / fookb.cpp
1 #include <QApplication>
2 #include <QQmlApplicationEngine>
3 #include <QDebug>
4
5 #include "xlib_wrapper.h"
6
7 int main(int argc, char *argv[])
8 {
9     QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
10     QApplication app(argc, argv);
11     QQmlApplicationEngine engine;
12     engine.load(QUrl(QStringLiteral("qrc:/fookb.qml")));
13
14     XlibWrapper xlib;
15
16     return app.exec();
17 }