Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.0.0 Beta2
-
-
f641a0dbcfd52e78e068357d9c66236798e043e8 (qt/qtbase/dev)
Description
Error:
FAILED: src/plugins/imageformats/jpeg/CMakeFiles/QJpegPlugin.dir/qjpeghandler.cpp.obj C:\PROGRA~2\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1427~1.291\bin\Hostx64\x64\cl.exe /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_QJPEGPLUGIN_LIB -DQT_STATICPLUGIN -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -Ddeprecations -Isrc\plugins\imageformats\jpeg\QJpegPlugin_autogen\include -IE:\vcpkg_folders\qt6\buildtrees\qtbase\src\.0.0-beta1-8e7b891830\src\plugins\imageformats\jpeg -Isrc\plugins\imageformats\jpeg -Iinclude -Iinclude\QtCore -IE:\vcpkg_folders\qt6\buildtrees\qtbase\src\.0.0-beta1-8e7b891830\mkspecs\win32-msvc -Isrc\corelib -Iinclude\QtCore\6.0.0 -Iinclude\QtCore\6.0.0\QtCore -Iinclude\QtGui -Isrc\gui -Iinclude\QtGui\6.0.0 -Iinclude\QtGui\6.0.0\QtGui -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /D_DEBUG /MTd /Z7 /RTC1 -MTd /W3 /wd4530 /wd4577 -Zc:__cplusplus -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -std:c++17 /YuE:/vcpkg_folders/qt6/buildtrees/qtbase/x64-windows-static-dbg/src/plugins/imageformats/jpeg/CMakeFiles/QJpegPlugin.dir/cmake_pch.hxx /FpE:/vcpkg_folders/qt6/buildtrees/qtbase/x64-windows-static-dbg/src/plugins/imageformats/jpeg/CMakeFiles/QJpegPlugin.dir/./cmake_pch.cxx.pch /FIE:/vcpkg_folders/qt6/buildtrees/qtbase/x64-windows-static-dbg/src/plugins/imageformats/jpeg/CMakeFiles/QJpegPlugin.dir/cmake_pch.hxx /showIncludes /Fosrc\plugins\imageformats\jpeg\CMakeFiles\QJpegPlugin.dir\qjpeghandler.cpp.obj /Fdplugins\imageformats\Qt6QJpegPlugind.pdb /FS -c E:\vcpkg_folders\qt6\buildtrees\qtbase\src\.0.0-beta1-8e7b891830\src\plugins\imageformats\jpeg\qjpeghandler.cpp E:\vcpkg_folders\qt6\installed\x64-windows-static\include\jpeglib.h(97): error C3646: 'sent_table': unknown override specifier E:\vcpkg_folders\qt6\installed\x64-windows-static\include\jpeglib.h(97): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
The reason is that jmorecfg.h and jconfig.h between Qt and an externally installed Jpeg does not agree. I added a patch which makes it work for vcpkg and also added the installed jconfig.h and jmorecfg.h which are installed by libjpeg-turbo's cmake build.
Attachments
Issue Links
- relates to
-
QTBUG-91777 Static android build error on redefinition of boolean
-
- Closed
-
For Gerrit Dashboard: QTBUG-88093 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
343443,2 | Fix build of jpeg plugin against recent jpeg-turbo on MinGW | dev | qt/qtbase | Status: MERGED | +2 | 0 |
344498,2 | CMake: Fix build of QJpegPlugin in static Windows build with PCH | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
344612,4 | CMake: Fix build of QJpegPlugin in static Windows build with PCH | dev | qt/qtbase | Status: MERGED | +2 | 0 |