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

QFont::lastResortFont: Cannot find any reasonable font

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.13.0 Alpha 1
    • 5.5.1, 5.11.1
    • GUI: Font handling
    • 4f2e0117f9b842d9aa2a9bb04aabd9fb09774f1d

    Description

      While doing some exercises with QFont class, my program crashed with the following message: "QFont::lastResortFont: Cannot find any reasonable font".

      The name of the font was supposed to be written in a label (code sample attached as a printscreen).

      I checked the docs and saw a notice asking to report the bug, if it occurred.

      Attached are the list of fonts on my system and a printscreen showing my code and the application output.

      Attachments

        1. 2017.05.14_QFontBug.jpg
          2017.05.14_QFontBug.jpg
          167 kB
        2. fonts.txt
          9 kB
        3. qtbug60813.tar.gz
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            klemz Klemen Benedicic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes