Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0
-
Windows 10
Visual Studio 2019
-
-
65b0bc0ee (dev), 0b8ffcc2a (6.5), 7ee240baa (6.5), ed386f552 (dev), da317be41 (6.6), 886074044 (6.6)
Description
When building a static version of Qt6.5 for Windows, the build fails during the building of the PDF module.
This is because the include path of the bundled Qt freetype is not properly added and so the freetype headers are not found by the compiler.
When adding the path to the freetype headers to the INCLUDE environment variable, everything compiles.
My configuration:
-prefix C:\Qt\6.5.0\msvc2019_64_stat -static -static-runtime -platform win32-msvc -confirm-license -commercial -no-icu -release -opengl dynamic -nomake examples -nomake tests -skip qtvncserver -qt-tiff -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-pcre -qt-harfbuzz -openssl-linked -- -D OPENSSL_USE_STATIC_LIBS=ON -D OPENSSL_ROOT_DIR=C:/OpenSSL-Win64