please i need help, for my programm i need to have a static attribute in a class, but that attribute should be a QWidget, i tried it, but the programm will crash becaused i initialised it in the global space, and it had no parent.

i had no issue creating static QString attributes and initialising them in the global space.

please how could i do to the same, but with a QWidget (that needs a parent) ?