mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
16 lines
270 B
C++
16 lines
270 B
C++
![]() |
#include <QApplication>
|
||
|
#include "mainwindow.h"
|
||
|
|
||
|
int main(int argc, char* argv[])
|
||
|
{
|
||
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
|
||
|
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||
|
#endif
|
||
|
QApplication a(argc, argv);
|
||
|
|
||
|
MainWindow w;
|
||
|
w.show();
|
||
|
|
||
|
return a.exec();
|
||
|
}
|