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

SIGABRT when using QFontMEtrics::width with default font on OS X 10.10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.3.1
    • 5.3.0
    • GUI: Font handling
    • None
    • Mac OS X 10.10 DP (build 14A238x)
    • macOS
    • abcea1c5f06b2ea0428e08a3a71f08d39c29c2fd

    Description

      The following code:

      QFont font = QToolTip::font();
      QFontMetrics metrics = QFontMetrics(font);
      int width = metrics.width(text);

      cause an assertion to fail and subsequent SIGABRT on OS X 10.10 DP.

      Attachments

        Issue Links

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

          Activity

            People

              dedietri Gabriel de Dietrich (drgvond)
              violetgiraffe Alex
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes