Important: Please read the Qt Code of Conduct -

Qt 5.3.2 depends on MF.DLL even with "-target xp" build option

  • I'm trying to build a Qt version which will also run on Windows XP, since many still use this. I've built the Qt 5.3.2 library from command line using the VS2010 32-bit compiler and the following options:

    @configure.bat -platform win32-msvc2010 -vcproj -mp -static -no-opengl -nomake examples -nomake tests -target xp@

    In qtbase\mkspecs\win32-msvc2010\qmake.conf I've swapped /MD option with /MT to avoid VS2010 dependencies and I link Qt 5.3.2 as static libraries.

    The resulting executable is, however, still depending on MF.DLL which is part of Windows Vista and later versions.

    I include Qt multimedia in my application and I take it's that one which is depending on MF.DLL. Is there some way to get rid of this dependency so my application will run on Windows XP?

    -- Bjoern

  • Hm, adding "-no-wmf-backend" removes the MF.dll dependency. IMO "-target xp" should also trigger "-no-wmf-backend".

    -- Bjoern

  • Lifetime Qt Champion


    You should check the "bug report system": for this and if there's not already something add a suggestion.

Log in to reply