Changes between Version 12 and Version 13 of Yocto/qt
- Timestamp:
- 04/30/2019 04:02:15 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Yocto/qt
v12 v13 14 14 EGLFS forces the first top-level window (be it either a QWidget or a QQuickView) to become fullscreen. This window is also chosen to be the root widget window into which all other top-level widgets (for example dialogs, popup menus or combobox dropdowns) are composited. This is necessary because with EGLFS there is always exactly one native window and EGL window surface, and these belong to the widget or window that is created first. This approach works well when there is a main window that exists for the entire lifetime of the application and all other widgets are either non top-levels or are created afterwards, once the main window is shown. 15 15 16 For Ventana boards based on the i.MX6 SoC in order to build Qt5 for a specific platform plugin, you must alter the {{{DISTRO_FEATURES}}} variable and remove the backends you don't want. This is typically done in build/local.conf(Note the mandatory space around the options inside the quotes):16 For Ventana boards based on the i.MX6 SoC in order to build Qt5 for a specific platform plugin, you must alter the {{{DISTRO_FEATURES}}} variable and remove the backends you don't want. This is typically done in {{{build/conf/local.conf}}} (Note the mandatory space around the options inside the quotes): 17 17 * to build for EGLFS (ie no window system): 18 18 {{{ … … 86 86 * X11 based image {{{gateworks-image-gui}}}: 87 87 - includes the matchbox window manager and a host of other X11 based demos 88 - requires building the enitre BSP with 'DISTRO_FEATURES_remove = " wayland "' defined in {{{build/ local.conf}}}88 - requires building the enitre BSP with 'DISTRO_FEATURES_remove = " wayland "' defined in {{{build/conf/local.conf}}} 89 89 * EGLFS based stand-alone app {{{qtglviddemo-image}}} recipe. 90 90 - stand-alone application rendering directly to hardware via EGLFS without any window manager 91 - requires building the enitre BSP with 'DISTRO_FEATURES_remove = " wayland x11 "' defined in {{{build/ local.conf}}}91 - requires building the enitre BSP with 'DISTRO_FEATURES_remove = " wayland x11 "' defined in {{{build/conf/local.conf}}} 92 92 93 93 For example to build Yocto with the EGLFS backend as you would do with a stand-alone application managing the entire screen: 94 94 {{{#!bash 95 echo 'DISTRO_FEATURES_remove = " wayland x11 "' >> build/ local.conf95 echo 'DISTRO_FEATURES_remove = " wayland x11 "' >> build/conf/local.conf 96 96 bitbake qtglviddemo-image 97 97 }}}