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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes