Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
5.0.0
-
None
-
every flavor of Windows
Description
#include <QtCore>
includes qwineventnotifier.h which includes qt_windows.h.
This leads to an environment cluttered with Win API defines and typedefs for everybody who includes QtCore or qt_windows.h.
Observable is this for everybody who tries to build qlalr on Windows which includes QtCore and uses the identifier ERROR in an enum.
ERROR, however is defined as 0 in wingdi.h and the build fails.
Attachments
Issue Links
- is replaced by
-
QTBUG-34058 qwineventnotifier.h pulls windows.h and pulled by QtCore and pulled by all other modules
-
- Closed
-
- relates to
-
QTBUG-107179 QtCore includes wingdi.h
-
- Closed
-