Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1028

Passing dict to QVariantMap argument crashes the program

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.5, 5.13.1
    • 5.12.3
    • PySide
    • None
    • Linux/X11
    • 423f12bb6908667e34a477ccf515a2377fc7a596 (pyside/pyside-setup/5.12)

    Description

              pluginParameters = {}
              pluginParameters["osm.useragent"] = "Foo"
              self.provider = PyQt5.QtLocation.QGeoServiceProvider("osm", pluginParameters )
      

      This code crashes the program. Omitting pluginParameters works. Note,: the second argument of that constructor is a QVariantMap.
      Same code with PyQT5 works

      Attachments

        1. pyside1028_location.py
          0.2 kB
        2. pyside1028_stack.txt
          2 kB
        3. pyside1028.py
          0.1 kB
        For Gerrit Dashboard: PYSIDE-1028
        # Subject Branch Project Status CR V

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            paangele Paolo Angelelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes