JKQtPlotter/examples/jkqtmathtext_test/jkqtmathtext_test.cpp

21 lines
414 B
C++
Raw Normal View History

#include <QApplication>
#include "testform.h"
int main(int argc, char* argv[])
{
#if QT_VERSION >= 0x050600
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); // DPI support
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); //HiDPI pixmaps
#endif
QApplication app(argc, argv);
TestForm w;
w.show();
w.updateMath();
w.showMaximized();
return app.exec();
}