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

Segmentation fault when drawing text on QImage in QCoreApplication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.0.2, 5.1.0 Beta 1
    • GUI: Font handling
    • None

      We want to manipulate QImage by drawing on it with QPainter in non-gui QCoreApplication. Calling the function QPainter::drawText() causes a segmentation fault in initializeDb() (qfontdatabase_qpa.cpp). See attached screenshot. Also an example to reproduce the crash is attached.

        1. ConsoleApp.zip
          6 kB
        2. Capture.PNG
          Capture.PNG
          23 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes