Qt/Windows: Properly link against qtmain.

This commit is contained in:
Shawn Hoffman
2017-06-23 00:40:55 -07:00
parent 4e39a42e6b
commit 38b61edaa5
3 changed files with 4 additions and 1 deletions

View File

@ -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);