Hi Pritpal,
can you check if :setStyleSheet() defined in a UI dialog crashes some your app also?
I tried 2 things:
1. Call an already made UI with oDlg := hbqtui_..., then some of oDlg:dialog:setStyleSheet(...), oDlg:setStyleSheet(...), etc., with various background parameters from image to gradients or colors.
2. define directly in the UI the background color of the dialog and exclude :setStyleSheet(...) in the app.
in both ways, after the dialog shows, the background is colored but, after some seconds, got the windows error close dialog,
The crash can shows faster if I try some action on the dialog.
Any clue?
Thanks
Zoran