The -d parameter is shown in the manual "Building the QMYSQL plugin on Windows using MinGW".
But i will try it without -d.