Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-113416

[Reg 6.4->6.5] Static build fails at PDF module

    XMLWordPrintable

Details

    • macOS, Windows
    • 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
      

      Attachments

        For Gerrit Dashboard: QTBUG-113416
        # Subject Branch Project Status CR V

        Activity

          People

            semlanik Alexey Edelev
            lkdem Ludger Krämer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes