change app.exec_() to app.exec()
to make all apps fully compatible with both qt5 and qt6:
- PyQt6: only supports exec
- PySide6: supports both exec and exec_
- PyQt5: supports both exec and exec_
- PySide2: only supports exec_
PySide2 will be only unsupported distribution.
Edited by wyzula_j