From 38b61edaa50bd8143360821aef0c2987db67fefa Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Fri, 23 Jun 2017 00:40:55 -0700 Subject: Qt/Windows: Properly link against qtmain. --- Source/Core/DolphinQt2/Main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/DolphinQt2/Main.cpp') diff --git a/Source/Core/DolphinQt2/Main.cpp b/Source/Core/DolphinQt2/Main.cpp index 06fc993aaf..8d58eea54b 100644 --- a/Source/Core/DolphinQt2/Main.cpp +++ b/Source/Core/DolphinQt2/Main.cpp @@ -19,6 +19,8 @@ #include "UICommon/CommandLineParse.h" #include "UICommon/UICommon.h" +// N.B. On Windows, this should be called from WinMain. Link against qtmain and specify +// /SubSystem:Windows int main(int argc, char* argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); -- cgit v1.2.3