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

Bug in qqmlimport when loading qml plugins with initializeEngine

    XMLWordPrintable

Details

    • cf51cdb8fb002ae3602a4c886e7c67913d77373a

    Description

      In QQmlImportDatabase::importPlugin when passing the uri to
      ep->typeLoader.initializeEngine(eiface, moduleId);
      it uses
      const char *moduleId = uri.toUtf8().constData();

      to convert to a utf8 char*. This does not work, as the underlying QByteArray is destroyed as soon as the function call is done.

      Attachments

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

        Activity

          People

            w00t Robin Burchell
            madwinter Marcus Tillmanns
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes