qthread conflict with _I in VS2022, BUT ok in qt5
-
hey guys ,I found strange things.
Qt6.9.2 +VS2022 fail to compile the code:
macro definition "#define _I" conflict with "#include <QThread>"
But it works in Qt5.14 + VS2017 !!!after comment "#define _I" or "#include <Qthread> ", it compile OK
here is the code
link text -
include the Qt headers first