qt 6.7.2 - build pdf module from webengine

This commit is contained in:
kleuter 2024-08-08 12:57:18 +02:00
parent ca46549e8f
commit fcdd02bf11
3 changed files with 15 additions and 1 deletions

BIN
6.7.2/_tools/gperf.exe Normal file

Binary file not shown.

View File

@ -78,7 +78,7 @@ printLineToBat (":OPENSSL_ALREAD_COMPILED");
# openssl: see https://bugreports.qt.io/browse/QTBUG-65501
my $skipped_modules = "qt3d qtactiveqt qtcharts qtcoap qtconnectivity qtdatavis3d qtdeclarative qtdoc qtlottie qtmqtt qtmultimedia qtnetworkauth qtopcua qtpositioning qtquick3d qtquicktimeline qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtshadertools qtsvg qttranslations qtvirtualkeyboard qtwayland qtwebchannel qtwebengine qtwebsockets qtwebview";
my $skipped_modules = "qt3d qtactiveqt qtcharts qtcoap qtconnectivity qtdatavis3d qtdoc qtlottie qtmqtt qtmultimedia qtnetworkauth qtopcua qtpositioning qtquick3d qtquicktimeline qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtsvg qttranslations qtvirtualkeyboard qtwayland qtwebchannel qtwebengine qtwebsockets qtwebview";
my $skipped_modules_cmd;

View File

@ -0,0 +1,14 @@
rem: https://wiki.qt.io/QtPDF_Build_Instructions
rem requirements:
rem 1. Python and html5lib package (pip3 install html5lib)
rem 2. node.js
rem 3. gperf.exe on PATH
SET PATH=%PATH%;%cd%\_tools;%cd%\_tools\cmake\bin
CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
SET _ROOT=%cd%
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
mkdir qtwebengine-pdf-build
cd qtwebengine-pdf-build
C:\qt6_x64\bin\qt-configure-module.bat ../qtwebengine -- -DFEATURE_qtwebengine_build=OFF && cmake --build . --parallel && cmake --install . --config Release && cmake --install . --config Debug && pause