Want to Join Us ?

you'll be able to discuss, share and send private messages.

Bringing IDA PRO plugin writing into 2014

Discussion in 'Plugins developement QT' started by storm shadow, Jul 3, 2014.

Share This Page

  1. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    I have some days playing with ida pro and PYQT.
    only to find out that hexrays way off implimenting QT / PySide it is old and buggy.
    Thing is that ida itself is a QT app, and Qt app + Qt app = CRASH!!

    So i set the task off doing it right. Making it how it should be from start.tricking IDA PRO and make real QT apps
    its a little long, but would definitely change plugin writing, so hope you 12 minuts.
    https://www.firedrive.com/file/89A4B7D70955D012
    https://anonfiles.com/file/92f31876e350993be670fd658d5d7d05
    We can also call the app via hotkey so you know.


    Just zoom ctrl + to get better view
     

    Attached Files:

    Last edited: Jul 8, 2014
    Accezz, computerline and Rip Cord like this.
  2. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    Got QAplications to work in Windows and Ida at the same time.
    you have to edit at the end off the file and insert this

    Code (Python):
    app = QtGui.QApplication.instance()
        if not app:
            app = QtGui.QApplication([])
    before we had to change QAplication to Qwidget, the fix above should work on both apps.

    before
    Code (Python):
    if __name__ == "__main__":
        import sys
        app = QtGui.QApplication(sys.argv)
        Frame = QtGui.QFrame()
        ui = Ui_Frame()
        ui.setupUi(Frame)
        Frame.show()
        sys.exit(app.exec_())
    after
    Code (Python):
    if __name__ == "__main__":
        import sys
        app = QtGui.QApplication.instance()
        if not app:
            app = QtGui.QApplication([])
        Frame = QtGui.QFrame()
        ui = Ui_Frame()
        ui.setupUi(Frame)
        Frame.show()
        app.exec_()
     
    Last edited: Jul 22, 2014
    Rip Cord likes this.
Top