Hi, because there were some issues with this package (for me all of pdf4qt's plugins were missing!) I built from source in the 'standard' way:
git clone https://github.com/Microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh -disableMetrics
VCPKG_ROOT=$(pwd)/vcpkg
git clone https://github.com/JakubMelka/PDF4QT
cd PDF4QT/
cmake -B build -S . -DPDF4QT_INSTALL_QT_DEPENDENCIES=0 -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake -DCMAKE_INSTALL_PREFIX='' -DCMAKE_BUILD_TYPE=Release
export PDF4QT_QT_ROOT=/usr/lib/qt6/
cmake --build build -j8
sudo cmake --install build
If the next person building this knows how to convert this into a PKGBUILD that would be greatly appreciated :)
Pinned Comments
<deleted-account> commented on 2023-12-24 13:02 (UTC)
Export the environment variable
CMAKE_BUILD_PARALLEL_LEVELwith the number of parallel jobs you want to use when building.Example:
export CMAKE_BUILD_PARALLEL_LEVEL=8