Building QtPdf inside QtWebEngine... Get this on build ->WARNING: QtPdf will not be built.
Unsolved
QtWebEngine
-
Hi
I am trying to following this example on how to build -> https://wiki.qt.io/QtPDF_Build_Instructions
I Managed to get all the tools I need to to make the instruction go smoothly. Right before I am suppose to run mingw32-make though I get this output.C:\Tools\build>qmake ../qtwebengine -- -no-build-qtwebengine-core Info: creating stash file C:\Tools\build\.qmake.stash Info: creating cache file C:\Tools\build\.qmake.cache Running configuration tests... Checking for architecture supported... yes Checking for bison... yes Checking for python2... Checking for flex... yes Checking for gperf... yes Checking for jumbo build merge limit... 0 Checking for platform supported... Qt WebEngine on Windows requires MSVCg (MSVC mode). Checking for build path without whitespace... yes Checking for submodule initialized... yes Checking for d-bus... no Checking for fontconfig... no Checking for libdrm... no Checking for system ninja... no Checking for xcomposite... no Checking for xcursor... no Checking for xi... no Checking for xkbcommon... no Checking for xtst... no Checking for 64bit compiler... yes Checking for winversion... no Done running configuration tests. Configure summary: Qt WebEngine Build Tools: Use System Ninja ....................... no Use System Gn .......................... no Jumbo Build Merge Limit ................ no Developer build ........................ no Note: The following modules are not being compiled in this configuration webenginecore webengine webenginewidgets pdf pdfwidgets WARNING: Qt WebEngine on Windows requires MSVC or Clang (MSVC mode). **WARNING: QtPdf will not be built.** Qt is now configured for building. Just run 'mingw32-make'. Once everything is built, you must run 'mingw32-make install'.
So I why does it keep on saying -> WARNING: QtPdf will not be built.
What do I have to do to make this work?Thanks!
-
@Cart_man said in Building QtPdf inside QtWebEngine... Get this on build ->WARNING: QtPdf will not be built.:
WARNING: Qt WebEngine on Windows requires MSVC or Clang (MSVC mode).
Did you notice this? QtWebEngine cannot be built with MinGW.
-
Hi,
As the error message suggests: change the compiler. Chromium, on which QtWebEngine is based, does not support MinGW.