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

qt docs: warn user about using QStringLiteral in libraries

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • None

      please add into QString reference a warning against passing qstringliterals to global static containers in the dynamic library code, because it leads to crash on exit. the most obvious examples are fonts, icons and qregexp.

      see
      https://bugreports.qt.io/browse/QTBUG-46880
      https://bugs.kde.org/show_bug.cgi?id=359758
      for examples of crashes

      see also https://mail.kde.org/pipermail/kde-frameworks-devel/2016-February/031538.html

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

            docteam Qt Documentation Team
            shaforostov Mykola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes