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

Passing dict to QVariantMap argument crashes the program

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12.3
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              crmaurei Cristian Maureira-Fredes
              Reporter:
              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