Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.0 Beta1
-
-
2915921ad2a79a4ce1651dc7297f6571788d1413 (qt/qtbase/dev) 7adddb1664266c580a9490e8ad86dc2df2af3cea (qt/qtbase/6.2) e54d6459d246a167befcea1a39b162ecd49642a4 (qt/qtbase/6.1)
Description
How to reproduce
- get Qt 6.2.0 via the installer
- build qtmultimedia\examples\multimedia\spectrum\app from https://codereview.qt-project.org/c/qt/qtmultimedia/+/359899 with qmake
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
- The paths that contain spaces are not properly quoted.
- 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
- is required for
-
QTBUG-95065 Restore qmake project files for qtmultimedia examples
- Closed