Qt: Enable DPI scaling
This commit is contained in:
parent
bea15c97cd
commit
fbf5e7f0e3
|
@ -20,6 +20,8 @@ int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
InitLogging();
|
InitLogging();
|
||||||
|
|
||||||
|
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
|
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
std::unique_ptr<QtHostInterface> host_interface = std::make_unique<QtHostInterface>();
|
std::unique_ptr<QtHostInterface> host_interface = std::make_unique<QtHostInterface>();
|
||||||
|
|
Loading…
Reference in New Issue