mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory `C:/Work/git/qt5/qtbase/src/plugins/platforms/windows' g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_FROM_ASCII -DQT_NO_DIRECTWRITE -DQT_DLL -DQT_PLUGIN -DQT_GUI_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_SHARED -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtCore\5.0.0" -I"..\..\..\..\include\QtCore\5.0.0\QtCore" -I"..\..\..\..\include\QtGui\5.0.0" -I"..\..\..\..\include\QtGui\5.0.0\QtGui" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\QtPlatformSupport\5.0.0" -I"..\..\..\..\include\QtPlatformSupport\5.0.0\QtPlatformSupport" -I"..\..\..\..\include\QtPlatformSupport" -I"..\..\..\..\include" -I"..\..\..\3rdparty\harfbuzz\src" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\qwindowsfontdatabase.o qwindowsfontdatabase.cpp In file included from ..\..\..\..\include/QtCore/qrect.h:1:0, from ..\..\..\..\include/QtGui/../../src/gui/text/qtextlayout.h:46, from ..\..\..\..\include/QtGui/qtextlayout.h:1, from ..\..\..\..\include\QtGui\5.0.0\QtGui/private/../../../../../src/gui/text/qtextengine_p.h:60, from ..\..\..\..\include\QtGui\5.0.0\QtGui/private/qtextengine_p.h:1, from ..\..\..\..\include\QtGui\5.0.0/QtGui/private/../../../../../src/gui/text/qfontengine_p.h:60, from ..\..\..\..\include\QtGui\5.0.0/QtGui/private/qfontengine_p.h:1, from qwindowsfontengine.h:56, from qwindowsfontdatabase.cpp:44: ..\..\..\..\include/QtCore/../../src/corelib/tools/qrect.h:436:14: warning: 'QRect QRect::intersected(const QRect&) const' redeclared without dllimport attribute after being referenced with dll linkage ..\..\..\..\include/QtCore/../../src/corelib/tools/qrect.h:441:14: warning: 'QRect QRect::united(const QRect&) const' redeclared without dllimport attribute after being referenced with dll linkage ..\..\..\..\include/QtCore/../../src/corelib/tools/qrect.h:766:15: warning: 'QRectF QRectF::intersected(const QRectF&) const' redeclared without dllimport attribute after being referenced with dll linkage ..\..\..\..\include/QtCore/../../src/corelib/tools/qrect.h:771:15: warning: 'QRectF QRectF::united(const QRectF&) const' redeclared without dllimport attribute after being referenced with dll linkage qwindowsfontdatabase.cpp: In static member function 'static QFontEngine* QWindowsFontDatabase::createEngine(int, const QFontDef&, HDC__*, int, bool, const QStringList&, const QSharedPointer&)': qwindowsfontdatabase.cpp:806:35: error: 'void*' is not a pointer-to-object type mingw32-make[1]: *** [tmp/obj/debug_shared/qwindowsfontdatabase.o] Error 1 mingw32-make[1]: Leaving directory `C:/Work/git/qt5/qtbase/src/plugins/platforms/windows' mingw32-make: *** [debug] Error 2