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

Don't generate code using QStringLiteral as this can create a problem if the code is used in a DLL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.12.0 Alpha
    • Component/s: Build tools: uic
    • Labels:
      None
    • Commits:
      ff18b02f21a04f7092b58be04be5a40df3ef993b

      Description

      Don't generate code using QStringLiteral as this can create a problem if the code is used in a DLL. Since the code is generated by uic then it should not be using QStringLiteral as it is not known where the generate code will end up, if it is in a user created dll then it can cause a crash when being unloaded due to the fact that QStringLiteral expects to be valid the whole time.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jkobus Jarek Kobus
              Reporter:
              andysh Andy Shaw
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes