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

[Qt Virtual Keyboard] Built-in style uses font family that doesn't exist on all platforms

    XMLWordPrintable

Details

    • macOS
    • aafe5f589 (dev), aa819d089 (6.8)

    Description

      Steps to reproduce
      Jun run any project that uses the Qt Virtual Keyboard on macOS using the environment variable, QT_LOGGING_RULES="qt.qpa.fonts=true;"

       

      Outcomes
      We see the following debug output:

      qt.qpa.fonts: Populating font family aliases took 159 ms. Replace uses of missing font family "Sans" with one that exists to avoid this cost.
      

       

      Culprit
      "Sans" is hard-coded in the default style: https://github.com/qt/qtvirtualkeyboard/blob/v6.7.0-rc1/src/styles/builtin/default/style.qml#L12

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes