Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.0
-
None
-
300ab260c96d1e0a28f44d7e6c1d80b6124efd6c
Description
The following compiler error occurs when building the ds9 Phonon backend when Qt is configured statically:
cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DPHONON_MAKE_QT_ONLY_BACKEND -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\phonon" -I"..\..\..\..\include" -I"..\..\..\..\include\ActiveQt" -I"..\..\..\..\include\phonon_compat\phonon" -I"..\..\..\..\include\phonon_compat" -I"..\..\..\..\include\phonon\Phonon" -I"tmp\moc\debug_static" -I"..\..\..\..\mkspecs\win32-msvc2008" -Fotmp\obj\debug_static\ @C:\Users\sthomass.NOE\AppData\Local\Temp\nmD43B.tmp abstractvideorenderer.cpp audiooutput.cpp backend.cpp ..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C2227: left of '->m_directShowMutex' must point to class/struct/union/generic type ..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C3861: 'qt_plugin_instance': identifier not found
Reproduced on Windows 7 64-bit and Windows Vista 64-bit with MSVC 2008 32-bit, using Qt 4.6.0 (SHA-1: cabfa68f3e37e79a18775a9970f6d166e75ece07).
This is a regression from Qt 4.5.3 (presumably introduced with commit 5ee3c7a120477668904502a997d88d0c5a0fd976).
Other issues related to building Phonon statically: QTBUG-2930 and QTBUG-5107.