title: How to enable eglfs plugin in Yocto setup? using yocto+meta-qt5 for Riotboard
body: <p>Recently I just used fsl-community-bsp and meta-qt5 layer to generate the cross toolchain and the rootfs. I used "bitbake meta-toolchain-qt5" and "bitbake fsl-image-multimedia-full". Both fsl-community-bsp and meta-qt5 use jethro branch.</p>
  
  <p>Following are some of my questions:</p>
  
  <ol>
  <li>In the rootfs which I put in the “riotboard”, is qt5 library already in it? Do I need to compile the source of qt5 and copy it to the board
  separately?---<strong>Now it's clear, the library are inside the rootfs;</strong></li>
  <li>I have set up the qtcreator: device, kit, qt version, compiler, debugger, also ssh connection, but when I run the application, qt says
  “This application failed to start because it could not find or load the qt platform plugin xcb, available platform plugin are: eglfs, minimal, minimalegl, offscreen”.---<strong>It seems the error is fixed by me, modifying the PACKAGECONFIG[gles2]="-opengl es2 -eglfs <em>-qpa eglfs</em>,,virtual/libgles2 virtual/egl";</strong></li>
  <li>In the Jethro branch of meta-qt5, the qtbase.inc is missing, correct? I found on the internet, that I can modify the PACKAGECONFIG[gles] value, add –qpa eglfs.---<strong>It's into the qtbase_git.bb now;</strong></li>
  <li>I also found that in the Jethro branch, the serialport is also missing, but in our application, we need this function to handle the serial keyboard. How can we do now?---<strong>I find it now;</strong></li>
  <li>If I need to compile the qt5 source and copy all the folder to the riotboard, how can I set the path in the qtcreator to find the relevant library?---<strong>No need to do this;</strong></li>
  </ol>
  
  <p>Thank you very much!</p>