get rid of an meanwhile obsolete warning. Also fix a casting problem. There is still a bug left in QtGui.
get rid of an meanwhile obsolete warning. Also fix a casting problem. There is still a bug left in QtGui.

Note: QtCore  builds, after I changed the build settings of Qt5!
In other words: Until a better way is found, you need to build your own Qt5.

The setting in Question is for qtbase/mkspecs/win32-msvc2010/qmake.conf.

##########
# Compiling PySide2 on Windows 7 with VS2010
# this one was crucial:
# QMAKE_CFLAGS            = -nologo -Zm200 -Zc:wchar_t
# change to

QMAKE_CFLAGS            = -nologo -Zm200 -Zc:wchar_t-

# and run configure
##########

IronManMark20/pyside2,IronManMark20/pyside2,IronManMark20/pyside2,qtproject/pyside-pyside,BadSingleton/pyside2,qtproject/pyside-pyside,gbaty/pyside2,gbaty/pyside2,gbaty/pyside2,qtproject/pyside-pyside,IronManMark20/pyside2,IronManMark20/pyside2,BadSingleton/pyside2,qtproject/pyside-pyside,gbaty/pyside2,gbaty/pyside2,BadSingleton/pyside2,BadSingleton/pyside2,BadSingleton/pyside2,qtproject/pyside-pyside