Skip to content

IDA 9.3 support PyQt6 #166

@0xMirasio

Description

@0xMirasio
<string>:1: RuntimeWarning: This bitwise operation relies on a PyQt5 shim feature. If PyQt5 is not imported, it won't work. For PySide6, use <EnumOrFlag>.value for bitwise operations instead
Traceback (most recent call last):
  File "C:\Users/titip/AppData/Roaming/Hex-Rays/IDA Pro/plugins\lighthouse\integration\ida_integration.py", line 343, in activate
    self.action_function()
  File "C:\Users/titip/AppData/Roaming/Hex-Rays/IDA Pro/plugins\lighthouse\integration\core.py", line 333, in interactive_load_file
    lctx = self.get_context(dctx)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/titip/AppData/Roaming/Hex-Rays/IDA Pro/plugins\lighthouse\integration\ida_integration.py", line 42, in get_context
    self.palette.warmup()
  File "C:\Users/titip/AppData/Roaming/Hex-Rays/IDA Pro/plugins\lighthouse\ui\palette.py", line 144, in warmup
    self._refresh_theme_hints()
  File "C:\Users/titip/AppData/Roaming/Hex-Rays/IDA Pro/plugins\lighthouse\ui\palette.py", line 490, in _refresh_theme_hints
    self._user_qt_hint = self._qt_theme_hint()
                         ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/titip/AppData/Roaming/Hex-Rays/IDA Pro/plugins\lighthouse\ui\palette.py", line 552, in _qt_theme_hint
    test_widget.setAttribute(103) # taken from http://doc.qt.io/qt-5/qt.html
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'PySide6.QtWidgets.QWidget.setAttribute' called with wrong argument types:
  PySide6.QtWidgets.QWidget.setAttribute(int)
Supported signatures:
  PySide6.QtWidgets.QWidget.setAttribute(PySide6.QtCore.Qt.WidgetAttribute, /, bool = True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions