I have problem during QT compiling with yocto.
I need eglfs_kms and I try to enable via config but it never compiles eglfs_kms plugin. After compilation, there is eglfs_kms_egldevice and eglfs_emu but there is no eglfs_kms.
this is how it is configured:
<code>Command line: -v -opensource -confirm-license -sysroot /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot -prefix /usr -bindir /usr/bin -libdir /usr/lib -datadir /usr/share -sysconfdir /etc -docdir /usr/share/doc -headerdir /usr/include -archdatadir /usr/lib -libexecdir /usr/lib/libexec -plugindir /usr/lib/plugins -qmldir /usr/lib/qml -translationdir /usr/share/translations -testsdir /usr/share/tests -examplesdir /usr/share/examples -hostprefix /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native -hostlibdir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib -hostbindir /usr/bin -external-hostbindir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/bin -hostdatadir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib -platform linux-oe-g++ -xplatform linux-oe-g++ -no-use-gold-linker -silent -no-pch -no-rpath -pkg-config -accessibility -no-cups -dbus -directfb -eglfs -evdev -nomake examples -fontconfig -system-freetype -no-gbm -no-feature-getentropy -no-gif -opengl desktop -opengl es2 -no-glib -no-gtk -qt-harfbuzz -no-ico -no-iconv -no-icu -no-journald -system-libjpeg -kms -no-libinput -system-libpng -no-libproxy -make libs -linuxfb -trace no -no-mtdev -openssl -system-pcre -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 -shared -make tests -make tools -no-tslib -libudev -vulkan -widgets -no-xcb -no-xkbcommon -system-zlib -kms -opengl es2
</code>
<code>Command line: -v -opensource -confirm-license -sysroot /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot -prefix /usr -bindir /usr/bin -libdir /usr/lib -datadir /usr/share -sysconfdir /etc -docdir /usr/share/doc -headerdir /usr/include -archdatadir /usr/lib -libexecdir /usr/lib/libexec -plugindir /usr/lib/plugins -qmldir /usr/lib/qml -translationdir /usr/share/translations -testsdir /usr/share/tests -examplesdir /usr/share/examples -hostprefix /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native -hostlibdir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib -hostbindir /usr/bin -external-hostbindir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/bin -hostdatadir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib -platform linux-oe-g++ -xplatform linux-oe-g++ -no-use-gold-linker -silent -no-pch -no-rpath -pkg-config -accessibility -no-cups -dbus -directfb -eglfs -evdev -nomake examples -fontconfig -system-freetype -no-gbm -no-feature-getentropy -no-gif -opengl desktop -opengl es2 -no-glib -no-gtk -qt-harfbuzz -no-ico -no-iconv -no-icu -no-journald -system-libjpeg -kms -no-libinput -system-libpng -no-libproxy -make libs -linuxfb -trace no -no-mtdev -openssl -system-pcre -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 -shared -make tests -make tools -no-tslib -libudev -vulkan -widgets -no-xcb -no-xkbcommon -system-zlib -kms -opengl es2
</code>
Command line: -v -opensource -confirm-license -sysroot /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot -prefix /usr -bindir /usr/bin -libdir /usr/lib -datadir /usr/share -sysconfdir /etc -docdir /usr/share/doc -headerdir /usr/include -archdatadir /usr/lib -libexecdir /usr/lib/libexec -plugindir /usr/lib/plugins -qmldir /usr/lib/qml -translationdir /usr/share/translations -testsdir /usr/share/tests -examplesdir /usr/share/examples -hostprefix /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native -hostlibdir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib -hostbindir /usr/bin -external-hostbindir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot-native/usr/bin -hostdatadir /home/ve/workspace/sie/yocto/sie-yocto/tmp/work/cortexa57-poky-linux/qtbase/5.15.13+git/recipe-sysroot/usr/lib -platform linux-oe-g++ -xplatform linux-oe-g++ -no-use-gold-linker -silent -no-pch -no-rpath -pkg-config -accessibility -no-cups -dbus -directfb -eglfs -evdev -nomake examples -fontconfig -system-freetype -no-gbm -no-feature-getentropy -no-gif -opengl desktop -opengl es2 -no-glib -no-gtk -qt-harfbuzz -no-ico -no-iconv -no-icu -no-journald -system-libjpeg -kms -no-libinput -system-libpng -no-libproxy -make libs -linuxfb -trace no -no-mtdev -openssl -system-pcre -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 -shared -make tests -make tools -no-tslib -libudev -vulkan -widgets -no-xcb -no-xkbcommon -system-zlib -kms -opengl es2
and my qtbase_git.bbapend:
<code>PACKAGECONFIG:append = "fontconfig linuxfb gles2 eglfs kms directfb"
PACKAGECONFIG:remove = "xcb vnc"
QT_CONFIG_FLAGS:append = " -kms"
DEPENDS:append = " libdrm"
</code>
<code>PACKAGECONFIG:append = "fontconfig linuxfb gles2 eglfs kms directfb"
PACKAGECONFIG:remove = "xcb vnc"
QT_CONFIG_FLAGS:append = " -kms"
DEPENDS:append = " libdrm"
</code>
PACKAGECONFIG:append = "fontconfig linuxfb gles2 eglfs kms directfb"
PACKAGECONFIG:remove = "xcb vnc"
QT_CONFIG_FLAGS:append = " -kms"
DEPENDS:append = " libdrm"
here is QT 5.15 and this is the output:
<code>Configure summary:
Building on: linux-oe-g++ (arm64, CPU features: cx16 neon crc32)
Building for: linux-oe-g++ (arm64, CPU features: cx16 neon crc32)
Target compiler: gcc 13.2.0
Configuration: cross_compile compile_examples enable_new_dtags largefile neon silent shared shared release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++17
Using ccache ........................... no
Using new DTAGS ........................ yes
Relocatable ............................ yes
Using precompiled headers .............. no
Using LTCG ............................. no
Target compiler supports:
NEON ................................. yes
Build parts ............................ libs tests tools
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... yes
Qt D-Bus directly linked to libdbus .... yes
Qt Gui ................................. yes
Qt Network ............................. yes
Qt Sql ................................. yes
Qt Testlib ............................. yes
Qt Widgets ............................. yes
Qt Xml ................................. yes
Support enabled for:
Using pkg-config ....................... yes
udev ................................... yes
Using system zlib ...................... yes
Zstandard support ...................... yes
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... no
iconv .................................. no
ICU .................................... no
Built-in copy of the MIME database ..... yes
Tracing backend ........................ <none>
Logging backends:
journald ............................. no
syslog ............................... no
slog2 ................................ no
PCRE2 .................................. yes
Using system PCRE2 ................... yes
Qt Network:
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
Linux AF_NETLINK ....................... yes
OpenSSL ................................ yes
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ yes
DTLS ................................... yes
OCSP-stapling .......................... yes
SCTP ................................... no
Use system proxies ..................... yes
GSSAPI ................................. no
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. no
ICO .................................. no
JPEG ................................. yes
Using system libjpeg ............... yes
PNG .................................. yes
Using system libpng ................ yes
Text formats:
HtmlParser ........................... yes
CssParser ............................ yes
OdfWriter ............................ yes
MarkdownReader ....................... yes
Using system libmd4c ............... no
MarkdownWriter ....................... yes
EGL .................................... yes
OpenVG ................................. no
OpenGL:
Desktop OpenGL ....................... no
OpenGL ES 2.0 ........................ yes
OpenGL ES 3.0 ........................ yes
OpenGL ES 3.1 ........................ yes
OpenGL ES 3.2 ........................ yes
Vulkan ................................. yes
Session Management ..................... no
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon .............................. no
X11 specific:
XLib ................................. no
XCB Xlib ............................. no
EGL on X11 ........................... no
xkbcommon-x11 ........................ no
QPA backends:
DirectFB ............................... yes
EGLFS .................................. yes
EGLFS details:
EGLFS OpenWFD ........................ no
EGLFS i.Mx6 .......................... no
EGLFS i.Mx6 Wayland .................. no
EGLFS RCAR ........................... no
EGLFS EGLDevice ...................... yes
EGLFS GBM ............................ no
EGLFS VSP2 ........................... no
EGLFS Mali ........................... no
EGLFS Raspberry Pi ................... no
EGLFS X11 ............................ no
LinuxFB ................................ yes
VNC .................................... yes
Qt Sql:
SQL item models ........................ yes
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite2 ................................ no
SQLite ................................. no
Using system provided SQLite ......... no
TDS (Sybase) ........................... no
Qt Testlib:
Tester for item models ................. yes
</code>
<code>Configure summary:
Building on: linux-oe-g++ (arm64, CPU features: cx16 neon crc32)
Building for: linux-oe-g++ (arm64, CPU features: cx16 neon crc32)
Target compiler: gcc 13.2.0
Configuration: cross_compile compile_examples enable_new_dtags largefile neon silent shared shared release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++17
Using ccache ........................... no
Using new DTAGS ........................ yes
Relocatable ............................ yes
Using precompiled headers .............. no
Using LTCG ............................. no
Target compiler supports:
NEON ................................. yes
Build parts ............................ libs tests tools
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... yes
Qt D-Bus directly linked to libdbus .... yes
Qt Gui ................................. yes
Qt Network ............................. yes
Qt Sql ................................. yes
Qt Testlib ............................. yes
Qt Widgets ............................. yes
Qt Xml ................................. yes
Support enabled for:
Using pkg-config ....................... yes
udev ................................... yes
Using system zlib ...................... yes
Zstandard support ...................... yes
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... no
iconv .................................. no
ICU .................................... no
Built-in copy of the MIME database ..... yes
Tracing backend ........................ <none>
Logging backends:
journald ............................. no
syslog ............................... no
slog2 ................................ no
PCRE2 .................................. yes
Using system PCRE2 ................... yes
Qt Network:
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
Linux AF_NETLINK ....................... yes
OpenSSL ................................ yes
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ yes
DTLS ................................... yes
OCSP-stapling .......................... yes
SCTP ................................... no
Use system proxies ..................... yes
GSSAPI ................................. no
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. no
ICO .................................. no
JPEG ................................. yes
Using system libjpeg ............... yes
PNG .................................. yes
Using system libpng ................ yes
Text formats:
HtmlParser ........................... yes
CssParser ............................ yes
OdfWriter ............................ yes
MarkdownReader ....................... yes
Using system libmd4c ............... no
MarkdownWriter ....................... yes
EGL .................................... yes
OpenVG ................................. no
OpenGL:
Desktop OpenGL ....................... no
OpenGL ES 2.0 ........................ yes
OpenGL ES 3.0 ........................ yes
OpenGL ES 3.1 ........................ yes
OpenGL ES 3.2 ........................ yes
Vulkan ................................. yes
Session Management ..................... no
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon .............................. no
X11 specific:
XLib ................................. no
XCB Xlib ............................. no
EGL on X11 ........................... no
xkbcommon-x11 ........................ no
QPA backends:
DirectFB ............................... yes
EGLFS .................................. yes
EGLFS details:
EGLFS OpenWFD ........................ no
EGLFS i.Mx6 .......................... no
EGLFS i.Mx6 Wayland .................. no
EGLFS RCAR ........................... no
EGLFS EGLDevice ...................... yes
EGLFS GBM ............................ no
EGLFS VSP2 ........................... no
EGLFS Mali ........................... no
EGLFS Raspberry Pi ................... no
EGLFS X11 ............................ no
LinuxFB ................................ yes
VNC .................................... yes
Qt Sql:
SQL item models ........................ yes
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite2 ................................ no
SQLite ................................. no
Using system provided SQLite ......... no
TDS (Sybase) ........................... no
Qt Testlib:
Tester for item models ................. yes
</code>
Configure summary:
Building on: linux-oe-g++ (arm64, CPU features: cx16 neon crc32)
Building for: linux-oe-g++ (arm64, CPU features: cx16 neon crc32)
Target compiler: gcc 13.2.0
Configuration: cross_compile compile_examples enable_new_dtags largefile neon silent shared shared release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. yes
Using C standard ....................... C11
Using C++ standard ..................... C++17
Using ccache ........................... no
Using new DTAGS ........................ yes
Relocatable ............................ yes
Using precompiled headers .............. no
Using LTCG ............................. no
Target compiler supports:
NEON ................................. yes
Build parts ............................ libs tests tools
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... yes
Qt D-Bus directly linked to libdbus .... yes
Qt Gui ................................. yes
Qt Network ............................. yes
Qt Sql ................................. yes
Qt Testlib ............................. yes
Qt Widgets ............................. yes
Qt Xml ................................. yes
Support enabled for:
Using pkg-config ....................... yes
udev ................................... yes
Using system zlib ...................... yes
Zstandard support ...................... yes
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... no
iconv .................................. no
ICU .................................... no
Built-in copy of the MIME database ..... yes
Tracing backend ........................ <none>
Logging backends:
journald ............................. no
syslog ............................... no
slog2 ................................ no
PCRE2 .................................. yes
Using system PCRE2 ................... yes
Qt Network:
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
Linux AF_NETLINK ....................... yes
OpenSSL ................................ yes
Qt directly linked to OpenSSL ........ no
OpenSSL 1.1 ............................ yes
DTLS ................................... yes
OCSP-stapling .......................... yes
SCTP ................................... no
Use system proxies ..................... yes
GSSAPI ................................. no
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. no
ICO .................................. no
JPEG ................................. yes
Using system libjpeg ............... yes
PNG .................................. yes
Using system libpng ................ yes
Text formats:
HtmlParser ........................... yes
CssParser ............................ yes
OdfWriter ............................ yes
MarkdownReader ....................... yes
Using system libmd4c ............... no
MarkdownWriter ....................... yes
EGL .................................... yes
OpenVG ................................. no
OpenGL:
Desktop OpenGL ....................... no
OpenGL ES 2.0 ........................ yes
OpenGL ES 3.0 ........................ yes
OpenGL ES 3.1 ........................ yes
OpenGL ES 3.2 ........................ yes
Vulkan ................................. yes
Session Management ..................... no
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
INTEGRITY HID .......................... no
mtdev .................................. no
tslib .................................. no
xkbcommon .............................. no
X11 specific:
XLib ................................. no
XCB Xlib ............................. no
EGL on X11 ........................... no
xkbcommon-x11 ........................ no
QPA backends:
DirectFB ............................... yes
EGLFS .................................. yes
EGLFS details:
EGLFS OpenWFD ........................ no
EGLFS i.Mx6 .......................... no
EGLFS i.Mx6 Wayland .................. no
EGLFS RCAR ........................... no
EGLFS EGLDevice ...................... yes
EGLFS GBM ............................ no
EGLFS VSP2 ........................... no
EGLFS Mali ........................... no
EGLFS Raspberry Pi ................... no
EGLFS X11 ............................ no
LinuxFB ................................ yes
VNC .................................... yes
Qt Sql:
SQL item models ........................ yes
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... no
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... no
PostgreSQL ............................. no
SQLite2 ................................ no
SQLite ................................. no
Using system provided SQLite ......... no
TDS (Sybase) ........................... no
Qt Testlib:
Tester for item models ................. yes
How can I enable eglfs_kms backend support?