1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

22 lines
439 B
C++
Raw Normal View History

2017-09-05 18:07:05 +08:00
#include "qqtapp.h"
2017-10-22 12:21:19 +08:00
#include "qqt-qt.h"
2017-09-05 18:07:05 +08:00
#include "qqtversion.h"
#include "qqtcore.h"
#include "qqtgui.h"
#include "qqtwindow.h"
int main ( int argc, char* argv[] )
2017-09-05 18:07:05 +08:00
{
#if QT_VERSION >= QT_VERSION_CHECK(5,6,0)
QApplication::setAttribute ( Qt::AA_EnableHighDpiScaling, true );
QApplication::setAttribute ( Qt::AA_UseHighDpiPixmaps, true );
#endif
QQTApp a ( argc, argv );
2017-09-05 18:07:05 +08:00
QQTWindow w;
w.show();
return a.exec();
}