Wrong Qt wrapper detection
a1ext opened this issue · 0 comments
a1ext commented
Hi,
Could you fix a typo in Qt wrapper detection code [here]:(https://github.com/L4ys/LazyIDA/blob/master/LazyIDA.py#L4)
IDA7 = idaapi.IDA_SDK_VERSION >= 700
if IDA7:
from PyQt5.Qt import QApplication
else:
from PySide.QtGui import QApplication
PyQt5 is used instead of PySide since IDA 6.9 (IDA_SDK_VERSION >= 690
), so in IDA 6.9x your plugin raises an error:
LazyIDA.py: No module named PySide.QtGui
Traceback (most recent call last):
File "M:\!re\IDA695\python\ida_idaapi.py", line 509, in IDAPython_ExecScript
execfile(script, g)
File "M:/!re/IDA695/plugins/LazyIDA.py", line 8, in <module>
from PySide.QtGui import QApplication
ImportError: No module named PySide.QtGui
Thanks