Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95198

Building QtMultimedia qmake projects is broken on Windows

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      2915921ad2a79a4ce1651dc7297f6571788d1413 (qt/qtbase/dev) 7adddb1664266c580a9490e8ad86dc2df2af3cea (qt/qtbase/6.2) e54d6459d246a167befcea1a39b162ecd49642a4 (qt/qtbase/6.1)

      Description

      How to reproduce

      What happens?

              link /NOLOGO /DYNAMICBASE /NXCOMPAT /OPT:REF /OPT:ICF /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:..\release\spectrum.exe @C:\Users\jobor\AppData\Local\Temp\spectrum.exe.13708.32.jom
      LINK : fatal error LNK1181: cannot open input file 'Kits\10\Lib\10.0.19041.0\um\x64\OleAut32.Lib' 

      Reasons

      qt_lib_multimedia_private.pri contains

      QMAKE_LIBS_WMF = -LC:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64  -lpropsys -LC:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64  -lMfplat -LC:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64  -lmfuuid -LC:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64  -lMf C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64/OleAut32.Lib C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64/Ole32.Lib -LC:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64  -lmsdmo C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64/Uuid.Lib -LC:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64  -ldmoguids -LC:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64  -lstrmiid
      1. The paths that contain spaces are not properly quoted.
      2. We should not have absolute paths from the build machine here in the first place.

      In Qt 5.15 that pri file contains

      QMAKE_LIBS_WMF = -lstrmiids -ldmoguids -luuid -lmsdmo -lole32 -loleaut32 -lMf -lMfuuid -lMfplat -lPropsys 

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes