February 15, 2012

P4C P4C
Lab Rat
12 posts

ARM problem: Qt::Window Qt::Widget showFullscreen() showNormal()

 

Code is very simple and working for x86 version: (Qt 4.8)

  1. if( fullscreen)
  2. {
  3.     this->setWindowFlags( Qt::Window);
  4.     showFullScreen();
  5. }
  6. else
  7. {
  8.     this->setWindowFlags( Qt::SubWindow);
  9.     showNormal();
  10. }

this == QWidget with parent.

On arm version fullscreen works 100% but getting back to normal widget embedded in another widget ends with flying widget not docked in it’s previous location. This is incosistent with x86 version which embeds it to previous location.

compositor: wayland

0 replies

 
  ‹‹ Guide for form creation in Qt creator and to store values in SQLite      Reading MediaDataStream by HTTP ››

You must log in to post a reply. Not a member yet? Register here!