Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. pyuic5 no longer converting files properly
Forum Update on Monday, May 27th 2025

pyuic5 no longer converting files properly

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 53 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    enjoysmath
    wrote 26 days ago last edited by
    #1
            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

    https://github.com/enjoysmath
    https://math.stackexchange.com/users/26327/exercisingmathematician

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Kent-Dorfman
      wrote 26 days ago last edited by
      #2

      so why are you using pyuic5 when your Qt plaform is v6?

      1 Reply Last reply
      2
      • E Offline
        E Offline
        enjoysmath
        wrote 25 days ago last edited by
        #3

        @Kent-Dorfman I will update my code to PyQt6 since I'm doing a rewrite :)

        https://github.com/enjoysmath
        https://math.stackexchange.com/users/26327/exercisingmathematician

        1 Reply Last reply
        0
        • E enjoysmath has marked this topic as solved 25 days ago

        3/3

        25 Apr 2025, 18:36

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved