I'm trying to port my Qt widgets project from Linux to Android. Everything works fine.

I have one problem though. When I use QMessageBox the background is "dimmed to black" and it looks like normal Android ui behavior.

When I try using QProgressDialog it looks just plain no dimmed background an no shadows, which makes them hard to see. I also have another dialog I created myself with the same behavior.

How do I get the dialogs to look as nice as the Qmessagebox's?

Thanks