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

QFontMetrics crashes in QTest unit test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 4.8.7
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      void ComponentTests::test_fontMetrics() {
       QFontMetrics metrics(QFont("Helvetica", 12));
       QSize r = metrics.size(Qt::TextSingleLine, "X"); // get overall size of text
      }
      QTEST_MAIN(ComponentTests)
      

        Attachments

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

          Activity

            People

            Assignee:
            oxmon Szymon Blachuta
            Reporter:
            oxmon Szymon Blachuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes