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

QFontMetrics crashes in QTest unit test

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.8.7
    • Testing: qtestlib
    • None
    • 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

            oxmon Szymon Blachuta
            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