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

pyuic5 no longer converting files properly

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 350 Views 1 Watching
  • 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.
  • enjoysmathE Offline
    enjoysmathE Offline
    enjoysmath
    wrote on 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
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

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

      If you meet the AI on the road, kill it.

      1 Reply Last reply
      2
      • enjoysmathE Offline
        enjoysmathE Offline
        enjoysmath
        wrote on 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
        • enjoysmathE enjoysmath has marked this topic as solved on

        • Login

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