Guard qwindowscombase.h with qt_windows.h include

qwindowscombase.h pulls in windows.h so not guarding its content by
including qt_windows.h might cause hard to track down issues like
min/max macros being defined.

Change-Id: I3c48660ed87122bb0c4f6830c8d0b288ec62a509
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Reviewed-by: Timothée Keller <timothee.keller@qt.io>
(cherry picked from commit cbf29a8720895bb34ee17eed0debeaa94d2ce4e4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Oliver Wolff 2023-05-23 10:34:18 +02:00 committed by Qt Cherry-pick Bot
parent 16a7e8d3d5
commit 290db1881d

View File

@ -40,6 +40,8 @@
#ifndef QWINDOWSCOMBASE_H
#define QWINDOWSCOMBASE_H
#include <qt_windows.h>
#include <QtCore/qglobal.h>
#include <unknwn.h>