Details
Description
Hello everyone,
Got errors during Qt configuration for builds using mingw-w64 and MSVC:
configure -v -opensource -confirm-license -release -shared -platform win32-g++ -c++std c++14 -zlib -opengl dynamic <snip> Checking for zlib... Trying source 0 (type inline) of library zlib ... => source failed condition 'config.msvc'. Trying source 1 (type inline) of library zlib ... + cd /d c:\libQT-5.10-dev\build\config.tests\zlib && c:\libQT-5.10-dev\build\qtbase\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "LIBS += -lz" C:/libQT-5.10-dev/build/config.tests/zlib + cd /d c:\libQT-5.10-dev\build\config.tests\zlib && set MAKEFLAGS=& mingw32-make > g++ -c -fno-keep-inline-dllexport -O2 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -I. -Ic:\libQT-5.10-dev\build\qtbase\mkspecs\win32-g++ -o main.o main.cpp > g++ -Wl,-s -Wl,-subsystem,console -mthreads -o zlib.exe main.o -lz => source accepted. test config.qtbase.libraries.zlib succeeded <snip> test config.qtwebengine.tests.bison succeeded Checking for embedded... test config.qtwebengine.tests.embedded FAILED Checking for flex... Found flex from path: C:/libQT-5.10-dev/build/gnuwin32/bin/flex.exe test config.qtwebengine.tests.flex succeeded Checking for gperf... Found gperf from path: C:/libQT-5.10-dev/build/gnuwin32/bin/gperf.exe test config.qtwebengine.tests.gperf succeeded Checking for python2... 'python2.exe' not found in PATH. Checking for 'python.exe'. test config.qtwebengine.tests.python2 gave result C:/ProgramData/Python64/python.exe Checking for d-bus... Trying source 0 (type pkgConfig) of library dbus ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.dbus FAILED Checking for fontconfig... Trying source 0 (type pkgConfig) of library fontconfig ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.fontconfig FAILED Checking for libdrm... Trying source 0 (type pkgConfig) of library libdrm ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.libdrm FAILED Checking for system ninja... Building own ninja test config.qtwebengine.tests.ninja FAILED Checking for xcomposite... Trying source 0 (type pkgConfig) of library xcomposite ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.xcomposite FAILED Checking for xcursor... Trying source 0 (type pkgConfig) of library xcursor ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.xcursor FAILED Checking for xi... Trying source 0 (type pkgConfig) of library xi ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.xi FAILED Checking for xrandr... Trying source 0 (type pkgConfig) of library xrandr ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.xrandr FAILED Checking for xtst... Trying source 0 (type pkgConfig) of library xtst ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.xtst FAILED Checking for harfbuzz >= 1.4.2... Trying source 0 (type pkgConfig) of library harfbuzz ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.harfbuzz FAILED Checking for winversion... + cd /d c:\libQT-5.10-dev\build\config.tests\winversion && c:\libQT-5.10-dev\build\qtbase\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" C:/libQT-5.10-dev/build/qtwebengine/config.tests/winversion + cd /d c:\libQT-5.10-dev\build\config.tests\winversion && set MAKEFLAGS=& mingw32-make > g++ -c -fno-keep-inline-dllexport -O2 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -Ic:\libQT-5.10-dev\build\qtwebengine\config.tests\winversion -I. -Ic:\libQT-5.10-dev\build\qtbase\mkspecs\win32-g++ -o winversion.o c:\libQT-5.10-dev\build\qtwebengine\config.tests\winversion\winversion.cpp > c:\libQT-5.10-dev\build\qtwebengine\config.tests\winversion\winversion.cpp:30:2: error: #error VS 2015 Update 3 with Cumulative Servicing Release or higher is required > #error VS 2015 Update 3 with Cumulative Servicing Release or higher is required > ^~~~~ > mingw32-make: *** [Makefile:163: winversion.o] Error 1 test config.qtwebengine.tests.winversion FAILED Done running configuration tests. Configure summary: Build type: win32-g++ (x86_64, CPU features: cx16 mmx sse sse2 sse3) Configuration: sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c largefile precompile_header rdrnd shani shared release c++11 c++14 concurrent dbus no-pkg-config stl Build options: <snip> Support enabled for: Using system zlib ...................... yes <snip> Qt WebEngine: Embedded build ......................... no Pepper Plugins ......................... yes Printing and PDF ....................... yes Proprietary Codecs ..................... no Spellchecker ........................... yes Native Spellchecker .................... no WebRTC ................................. yes Use System Ninja ....................... no Geolocation ............................ yes Note: No wayland-egl support detected. Cross-toolkit compatibility disabled. ERROR: Feature 'system-zlib' was enabled, but the pre-condition 'config.unix && libs.zlib' failed.
which relate to Change #204162.
Reproduced for:
- builds with QtWebEngine-dev (6bc675d8a7f89cb8c1ce4fc48dfeedcc8028c76f) sources,
not reproduced for:
- builds with QtWebEngine-dev (7282fb4fb4861320539f2b7288f63e1d4f48749d) sources,
- builds with -skip qtwebengine flag aor without -zlib flag for Qt configuration.
In addition, Qt WebEngine unable to be built neither using mingw-w64 or ICC on Windows, nor using MSVC with Static layout. Thus odd, that Qt WebEngine could block such builds with its "internal" errors,
Best,
Alexander