title: Can I call a resize event without manually resizing in Qt?
body: <p>To make it short: I have a bug regarding Qt in combination with optirun (or similiar things). I posted it already on <a href="https://bugreports.qt.io/browse/QTBUG-38664" rel="nofollow">here</a>, but it is not solved yet. With updating to the Qt version 5.4 it occurs another bug. The working window is just in the upper left corner in the resolution 100x30. It looks a bit similar to the right picture from the bug report. But by manually resizing it, the fixed and bigger size of the rendering window can be restored. That everything looks normal again.</p>
  
  <p>Is there the possibility to emit an resize event without manually resize the whole window? Currently, I tried to call the methods of the resize event manually, but this did not seem to work properly.
  Has anybody another idea to solve this problem? Maybe I am not the only one with that bug or maybe someone can imagine another solution without manually resizing the window? Any help would be great.</p>
  
  <p>All I want is that the start of the program creates instantly a bigger widget to render in it.</p>
  
  <p>Edit (some more information):</p>
  
  <p>I also tried to set a minimum size to the central widget in the UI-Designer of the QtCreator and this worked for all resolutions besides 1120x800 and at this resolution the program aborts while binding the framebuffer object. I know it's a bit strange, but that is the resolution I needed and I really don't know, why the manual resizing works, but not the initial one.</p>