Hello.

Qt Code:
  1. void dUpload::show( Qt::WindowFlags flags )
  2. {
  3. //setWindowFlags( flags );
  4.  
  5. setAttribute(Qt::WA_NoSystemBackground, true);
  6.  
  7. show();
  8. }
To copy to clipboard, switch view to plain text mode 

After call setAttribute function from this code my qwidget doesn't repaint (i.e. I see artefacts from child widgets), but when I resize that widget, then it repaints.

Is it bug in qt5 or I do something wrong?

OS: win7 + msvs 2010.