Open
Description
Hey guys, think I found an issue with the convert method.
line = line.replace("QtWidgets.QApplication.translate", "Qt.QtCompat.translate")
the import after the conversion will look like this:
from Qt import QtCore, QtGui, QtWidgets
So Qt is not imported. Should have an 'import Qt' somewhere or 'from Qt import QtCompat'.