fix MinGW build. the pragmas are for MSVC

Change-Id: I8ec58f136ad02449fdbf5aedca7a1b88583a561f
This commit is contained in:
Allen Winter
2020-07-01 18:34:03 -04:00
parent 183c48696e
commit 47f0dfd3ae
2 changed files with 5 additions and 3 deletions

View File

@@ -37,7 +37,9 @@
#if defined(Q_OS_WIN)
# include <Windowsx.h>
# include <Windows.h>
# pragma comment(lib,"User32.lib")
# if defined(Q_CC_MSVC)
# pragma comment(lib,"User32.lib")
# endif
#endif
namespace {