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

[Q(Core/Gui)Application]: Wrong function type classification after sublcassing

XMLWordPrintable

    • 0b6dd91fbd02e4de1f653e2a8cd6e892628dac0c (pyside/pyside-setup/5.14) 8c5b08a74650e5dea7303d6f232c4df0f706cb35 (pyside/pyside-setup/5.15)

      Hello, after qt update to 5.13 we have a problem to build python support for Falkon web browser (again).

      During the compilation there is no error only myriad of warnings and all seems fine.

      Compiled python plugin (PyFalkon) can be loaded and in my case seems to work.

      The problem is when the plugin tries to use some Falkon API.

      It throws an error message such as (see bug report):

      Traceback (most recent call last):
      File "/usr/lib/qt/plugins/falkon/python/hellopython/hellopython.py", line 29, in init
      plugins = Falkon.MainApplication.instance().plugins()
      AttributeError: 'PySide2.QtCore.QCoreApplication' object has no attribute 'plugins'
      

      Is there a way to fix this issue ?

        1. pyside1135.zip
          5 kB
        2. qapp_macro.5_12_5.cpp
          9 kB
        3. qapp_macro.5_14_0.cpp
          11 kB
        4. qapp_macro.final.cpp
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ctismer Christian Tismer
            sgorava Juraj Oravec
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: