How to cast QScreen* to QWidget* after following QT6 deprication information
I am converting a QT4 project to QT6 and ran into the following issue, the original code uses Desktop among other things, which was deprecated in QT6, and I have been trying to follow the suggested replacements.