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

    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

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

        Activity

          People

            jakoivik Jarkko Koivikko
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes