Display is not cleared after closing QT5 application window
<p>I have cross-compiled Qt5.4.8 using yocto for TexasInstruments DRA7XX-EVM board. Below are my configuration options.</p>

<pre><code>QT_CONFIG_FLAGS = \
-rpath \
-pkg-config \
-opengl es2 \
-no-accessibility \
-dbus \
-no-directfb \
-evdev \
-make examples \
-compile-examples \
-no-fontconfig \
-freetype \
-no-iconv \
-icu \
-system-libjpeg \
-system-libpng \
-make libs \
-eglfs \    
-kms \    
-linuxfb \
-no-mitshm \
-no-mtdev -no-nis -openssl-linked -no-openvg -qt-pcre -pulseaudio -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests -make tools -no-tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xkbcommon -no-xrandr -no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib \
-no-wayland \
-force-pkg-config \
</code></pre>

<p>I have exported below variables on my target shell:</p>

<blockquote>
  <p><code>export QT_QPA_PLATFORM=linuxfb</code></p>
  
  <p><code>export QT_QPA_GENERIC_PLUGINS=evdevtouch,evdevmouse,evdevkeyboard</code></p>
  
  <p><code>export QT_QPA_EVDEV_KEYBOARD_PARAMETERS=grab=1</code></p>
</blockquote>

<p>and I run my application:
$./myapplication</p>

<p>The window is shown properly on the screen. But when I exit the application the screen is not cleared. 
Please check my configuration options and tell me if any changes need to be done. And also some solution regarding clearing the framebuffer after the window is closed.</p>