Skip to content

Ui file convert issue. #147

Open
Open
@BoubQC

Description

@BoubQC

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions