pyuic5 no longer converting files properly
Solved
General and Desktop
-
self.gridLayout = QtWidgets.QGridLayout(ExportMapperWidget) self.gridLayout.setObjectName("gridLayout") self.promptForNewFileCheck = QtWidgets.QCheckBox(ExportMapperWidget) self.promptForNewFileCheck.setChecked(True) self.promptForNewFileCheck.setObjectName("promptForNewFileCheck") self.gridLayout.addWidget(self.promptForNewFileCheck, 2, 0, 1, 1) self.checkForBSSChangesButton = QtWidgets.QPushButton(ExportMapperWidget) self.checkForBSSChangesButton.setMaximumSize(QtCore.QSize(200, 16777215)) self.checkForBSSChangesButton.setObjectName("checkForBSSChangesButton") self.gridLayout.addWidget(self.checkForBSSChangesButton, 3, 1, 1, 1) self.expandWholeTreeButton = QtWidgets.QPushButton(ExportMapperWidget) self.expandWholeTreeButton.setMaximumSize(QtCore.QSize(200, 16777215)) self.expandWholeTreeButton.setObjectName("expandWholeTreeButton") self.gridLayout.addWidget(self.expandWholeTreeButton, 3, 0, 1, 1) self.exportMappingTree = QtWidgets.QTreeWidget(ExportMapperWidget) self.exportMappingTree.setToolTip("") self.exportMappingTree.setHorizontalScrollBarPolicy(QtCore.Qt.Qt::ScrollBarPolicy::ScrollBarAlwaysOn) self.exportMappingTree.setSizeAdjustPolicy(QtCore.Qt.QAbstractScrollArea::SizeAdjustPolicy::AdjustToContents) self.exportMappingTree.setAlternatingRowColors(False) self.exportMappingTree.setIconSize(QtCore.QSize(24, 24)) self.exportMappingTree.setTextElideMode(QtCore.Qt.Qt::TextElideMode::ElideNone) self.exportMappingTree.setWordWrap(True) self.exportMappingTree.setObjectName("exportMappingTree")
See the
::
in the above excerpt. Those should be.
and probably the location of the enums is wrong too. How can I fix this - go back to the old pyuic5 days when it worked?I'm using currently QtCreator 14.02 with Qt 6.7-8
-
so why are you using pyuic5 when your Qt plaform is v6?
-
@Kent-Dorfman I will update my code to PyQt6 since I'm doing a rewrite :)
-
E enjoysmath has marked this topic as solved