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

QTextCodec should be able to be implemented in a user made plugin

    XMLWordPrintable

Details

    • 03ab94b0e7a549bcf839639438f782a47522ffa7

    Description

      Currently Qt manages the lifetime of QTextCodecs, according to the documentation. If user wants to implement his own codec and that implementation is located in a plugin, when the application is shutting down and plugin is unloaded before the codecs are deleted, it causes a crash.

      Unloading the plugin could count as a deleting the QTextCodec by user which is against the documentation, but there are cases where the main application's code should not be bloated with plugin specific code that the QTextCodec could be. Maybe there could be a way to unregister the specific codecs?

      Attachments

        Issue Links

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

          Activity

            People

              igor.mironchik Igor Mironchik
              jussi_witick Jussi Witick
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes