I have done a Windows form application in Qt and I have some QPushButton, QGroupBox and so on and the application is working great.
But when i leave the application to the next day, i see that all frames around buttons, groupboxes and all widgets that have frames dissapears. But the application still working as it should.
Here i have edited a picture how it looks.
Application sets some stylesheets on some widgets in other dialogs, and sets some widget enabled on and off.
But is there anyone that has got same problems? And maybe have an explaining why it happens?
Perhaps, your program leak GDI Objects.
A windows application can only use 9999 GDI Objects. when your application leak too many GDI Objects, your application will looks look as your picture.
You can press Ctrl+Shift+Esc to see how many GDI Objects your application used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With