Skip to content

RuntimeError: You can't initialize an PySide6.QtGui.QIcon object in class Icon twice! #4

@CheerMan1

Description

@CheerMan1

Hi

I get an error when I run the following code. Windows11, PySide6 == 6.4.2 Python==3.13

Image

`import sys
from PySide6.QtWidgets import QApplication
from cutewindow import CuteWindow

if name == "main":
app = QApplication(sys.argv)
window = CuteWindow()
window.setWindowTitle("My Customizable App")
window.resize(800, 600)
window.show()
sys.exit(app.exec())`

"Thanks, and I look forward to hearing from you."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions