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

Roboto font used in Material style slows down startup time

    XMLWordPrintable

Details

    • macOS
    • f8ce5d76a (dev), 8bcacb3f5 (6.6), c1884695a (tqtc/lts-6.5)

    Description

      I have created a project with the template "Qt Quick Application - Empty" and added a qtquickcontrols2.conf file with the content:

      [Controls]
      Style=Material
      

      and modified the `main.qml` to

      import QtQuick 2.14
      import QtQuick.Controls 2.14
      ApplicationWindow {
           visible: true
           width: 640
           height: 480
           title: qsTr("Hello World")
           Button{ 
               text: "test"
           }
       }
      

      When I build and run this project I get the following output:
      qt.qpa.fonts: Populating font family aliases took 2240 ms. Replace uses of missing font family "Roboto" with one that exists to avoid this cost.

      Maybe related to: QTBUG-37165QTBUG-35704

      I think the font family should be shipped with Qt.

       

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              autoantwort autoantwort
              Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes