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

qt docs: warn user about using QStringLiteral in libraries

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes