Undefine DrawText in qlineedit.cpp
There is a #define DrawText DrawTextW in winuser.h which is included in windows.h so that the enum value in line 1981 is seen as DrawTextW and thus is not a valid enum value on Windows. Reviewed-by: Samuel Reviewed-by: Lars Knollbb10
parent
4b566e5db9
commit
2d09fe38ac
|
|
@ -85,6 +85,9 @@
|
|||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#ifdef DrawText
|
||||
#undef DrawText
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue