Check arguments of methods QWinMime::convertToMime and QWinMime::canConvertToMime
On website methods have signature: ...(const QString &mimeType, int *pDataObj)
real signature (Qt 5.12.0) is: ...(const QString &mimeType, IDataObject *pDataObj)