title: Qt: showMaximized() not working in Windows
body: <p>I am opening a file in my application (in <strong>Windows</strong>) by <strong>double-clicking</strong> it. I am passing the file name as received through argument to my open logic. There I am calling <strong>showMaximized()</strong>, but it is not getting picked up. The window that opens up is not maximized and defaultly located at the top-left corner of the screen.</p>
  
  <p>Note that all this logic flow is through <strong>main()</strong> and hence <strong>showMaximized()</strong> is probably getting called before the event loop starts. Is this stopping the <strong>showMaximized()</strong> to work properly? If yes, how to solve this?</p>
  
  <p>I also tried using <strong>QTimer::singleShot(0,...,...)</strong> (so as to let the event loop start) but this has even stopped the launching of the non-maximized screen.</p>
  
  <p>PS: In <strong>Mac</strong> the screen is getting maximized as there it happens through event (<strong>QEvent::FileOpen</strong>)</p>