Skip to content

Commit

Permalink
Add PySide6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
PistonMiner committed Oct 17, 2021
1 parent 7ca88a6 commit bbb47f0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BD Viewer (v1.0.1)
# BD Viewer (v1.0.2)
Author: **Linus S. (aka PistonMiner)**

_View BinDiff results and port symbols_
Expand Down
11 changes: 8 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@
import binaryninja as bn
import binaryninjaui

from PySide2.QtGui import QColor
from PySide2.QtCore import Qt, QAbstractItemModel, QModelIndex
from PySide2.QtWidgets import QApplication, QDialog, QVBoxLayout, QTreeView, QMenu
try:
from PySide2.QtGui import QColor
from PySide2.QtCore import Qt, QAbstractItemModel, QModelIndex
from PySide2.QtWidgets import QApplication, QDialog, QVBoxLayout, QTreeView, QMenu
except:
from PySide6.QtGui import QColor
from PySide6.QtCore import Qt, QAbstractItemModel, QModelIndex
from PySide6.QtWidgets import QApplication, QDialog, QVBoxLayout, QTreeView, QMenu

import sqlite3
from .binexport import binexport2_pb2
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"pip": ["protobuf"]
},
"version": "1.0.1",
"version": "1.0.2",
"author": "Linus S. (aka PistonMiner)",
"minimumbinaryninjaversion": 2487
}

0 comments on commit bbb47f0

Please sign in to comment.