diff --git a/src/widgets/itemviews/qfileiconprovider.cpp b/src/widgets/itemviews/qfileiconprovider.cpp index 408d09532b..99a7c1c929 100644 --- a/src/widgets/itemviews/qfileiconprovider.cpp +++ b/src/widgets/itemviews/qfileiconprovider.cpp @@ -52,6 +52,9 @@ #include #if defined(Q_OS_WIN) +#if defined(_WIN32_IE) +# undef _WIN32_IE +#endif # define _WIN32_IE 0x0500 # include # include