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

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

XMLWordPrintable

    • 03ab94b0e7a549bcf839639438f782a47522ffa7

      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?

        For Gerrit Dashboard: QTBUG-56203
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes