When I tried to create a qcustomplot in VS/qt5.2´╝îIt came to a list of errors from GdiplusTypes.h that 'EmfPlusRecordType' 'min' 'max' are not found.
Someone said its caused by the conflict min/max define between <windows.h> and <algorithm> but how to solve that?