- OS : Debian 11 Bullseye
- QT : 5.15.2
- QT Creator : 4.14.1
- QMake : 3.1
#update the repo
sudo apt-get update
#libqt5pdf5
sudo apt-get install libqt5pdf5
#qt5-dev
sudo apt-get install qtpdf5-dev
#pdf5 widgets
sudo apt-get install libqt5pdfwidgets5
# linking the module in .pro file
QT += core gui pdf
# then run qmake
<a target="_blank" href="https://icons8.com/icon/47259/remove">Remove</a> icon by <a target="_blank" href="https://icons8.com">Icons8</a>
<a target="_blank" href="https://icons8.com/icon/v16dJrelnUu6/import-pdf">Import Pdf</a> icon by <a target="_blank" href="https://icons8.com">Icons8</a>
<a target="_blank" href="https://icons8.com/icon/Zh9dun0fZ6kf/rich-text-converter">Rich Text Converter</a> icon by <a target="_blank" href="https://icons8.com">Icons8</a>
<a target="_blank" href="https://icons8.com/icon/37667/clear-symbol">Clear Symbol</a> icon by <a target="_blank" href="https://icons8.com">Icons8</a>
- OS : WIndows 10 Pro
- QT : 5.15.2
- QT Creator : 6.0
- QMake : 3.1
- CMake tools : CMake 3.21.1(Qt)
https://visualstudio.microsoft.com/visual-cpp-build-tools/
MSVC v142 - VS 2019 C++ x64/84 Built Tools(latest visual c++ v142)
windows 10 sdk 10.0.19041.0
windows 10 sdk 10.0.18362.0 [optional]
C++ ATL for latest v142 build tools(x86 & x64)
C ++ ATL for latest v142 built tools with spectre mitigations (x86 & x64)
C++ MFC for latest v142 build tools(x86 & x64)
C ++ MFC for latest v142 built tools with spectre mitigations (x86 & x64)
[x] qt 5.15.2 -->
QTWebEngine Module
MSVC 2019 64 bit
UWP x64 (MSVC 2019)
Sources
Qt Script(Deprecated)
Python 2.7 or later
Ninja : https://github.com/ninja-build/ninja/releases
|| Add these to system variables Path (Depends on your locations) ||
C:\Qt\5.15.2\msvc2019_64\bin
C:\Program Files(x86)\Microsot Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64
C:\\Python27\
C:\ninja
Search on windows search bar for "Qt 5.15.2 (MSVC 2019 64-bit)" & open
# change current directory
cd C:\Program Files(x86)\Microsot Visual Studio\2019\BuildTools\VC\Auxiliary\Build
# Setup Environment
(compiler) (architecture) (Windows SDK Version)
vcvarsall.bat amd64 10.0.19041.0
# Change current working dir
cd C:\Qt\5.15.2\Src\QTWebEngine
# create build dir
mkdir build
# change working dir to build
cd build
# building
qmake ../../qtwebengine -- -no-build-qtwebengine-core
# making(this will take care of ninja and gn builds)
nmake
# installing the make
nmake install
# open .pro file & add the module
QT += core gui pdf
qt creator -> tools-> options-> kits
.. and select Desktop Qt 5.15.2 MSVC2019-64bit
#compilers selections
c: Microsot Visual C++ Compiler 16.11.31911.196(amd64)
c++ : Microsot Visual C++ Compiler 16.11.31911.196(amd64)
Cmake tools : CMake 3.21.1(Qt)
# Profile selections
on the left side qt creator panel, (spanner icon)
select project-> and select the Desktop Qt 5.15.2 MSVC2019 64bit kit
disable other kits
# Then Run qmake and test the project