mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-26 04:31:39 +08:00
14 lines
645 B
Batchfile
14 lines
645 B
Batchfile
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 |