From 3c6f81f0048e0e0c5ce73bf506e7798d040e4cd7 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Fri, 11 Jul 2014 00:29:14 +0100 Subject: [PATCH] Remove console in windows --- source/app/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/app/main.cpp b/source/app/main.cpp index 157e985..fb6dc7a 100644 --- a/source/app/main.cpp +++ b/source/app/main.cpp @@ -29,6 +29,10 @@ #endif using namespace plaYUVer; +#if _WIN32 +#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup") +#endif + int main( int argc, char *argv[] ) { QApplication a( argc, argv );