blob: b15840d5cdf260b924e6dbc2f91ffa74a71e6434 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/**
* \file main.cpp
*
* The main entry point for the TikZiT executable.
*/
#include "tikzit.h"
#include <QApplication>
#include <QMenuBar>
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
//QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
QApplication a(argc, argv);
a.setQuitOnLastWindowClosed(false);
tikzit = new Tikzit();
tikzit->init(&a);
return a.exec();
}
|