ControlsDemo Example
#include <QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
#if 0
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
QApplication app( argc, argv );
app.setOrganizationName(QStringLiteral("Developer Machines"));
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
app.setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round);
#endif
MainWindow w;
w.show();
return app.exec();
}