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

Configure fails when specifying -no-freetype

    XMLWordPrintable

Details

    • Windows
    • 1c3e6b2cec (qt/qtbase/dev) 1c3e6b2cec (qt/tqtc-qtbase/dev) 0adbc990bf (qt/qtbase/6.3) 0adbc990bf (qt/tqtc-qtbase/6.3) c28f18e5e4 (qt/tqtc-qtbase/6.2)

    Description

      When specifying `-no-freetype` or `-freetype=no` with configure (or `-DINPUT_freetype=no` via cmake), Qt 6.3.0 fails to finish configuring, stating:

      -- The following REQUIRED packages have not been found:
      
       * WrapFreetype
      

      The configure help states that the valid options for `-freetype` are `[system/qt/no]`. This is also reflected in the Qt 6.3 docs for Freetype, and Qt 6.3.0's gui configure.cmake file. However, commit 5668522 made Freetype a required package for Qt 6.0, and none of the subsequent commits appears to have changed this requirement. This appears to be true for Qt 6.0-6.3 and dev.

      If Freetype is actually required, then perhaps it makes more sense to remove the "no" option as a valid value. If the "no" option has some other meaning or purpose outside of disabling Freetype altogether, then that should be documented instead.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              rytoex Ryan Foster
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes