Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2720DC3DA59 for ; Mon, 22 Jul 2024 06:40:53 +0000 (UTC) Subject: Add qtbase and qtwayland to core-image-minimal To: yocto@lists.yoctoproject.org From: "Poornesh G ( India - Bangalore )" X-Originating-Location: Bengaluru, Karnataka, IN (14.142.4.2) X-Originating-Platform: Linux Chrome 122 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sun, 21 Jul 2024 23:40:47 -0700 Message-ID: Content-Type: multipart/alternative; boundary="3t0GxtAMrq08p5ghkUxj" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 22 Jul 2024 06:40:53 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/63546 --3t0GxtAMrq08p5ghkUxj Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Greetings ! I have built a yocto for RK3568 (scarthgap) with core-image-minmal. I have = LCD in my custom carrier board , I have enabled wayland & weston by adding = the below lines in local.conf. # For weston DISTRO_FEATURES:remove =3D "x11 " DISTRO_FEATURES:append =3D " wayland pam" IMAGE_INSTALL:append =3D " wayland weston weston-init weston-examples rockc= hip-libmali" After this I could successfully see display . Now I need to add Qt into the= source , can anyone suggest me to include QT without having any conflict w= ith Wayland / Weston.=C2=A0 I am getting the below error in my case. ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= -- | QPA backends: | =C2=A0 DirectFB ............................... no | =C2=A0 EGLFS .................................. no | =C2=A0 LinuxFB ................................ no | =C2=A0 VNC .................................... yes | Qt Sql: | =C2=A0 SQL item models ........................ yes | Qt Widgets: | =C2=A0 GTK+ ................................... no | =C2=A0 Styles ................................. Fusion Windows | Qt PrintSupport: | =C2=A0 CUPS ................................... no | Qt Sql Drivers: | =C2=A0 DB2 (IBM) .............................. no | =C2=A0 InterBase .............................. no | =C2=A0 MySql .................................. no | =C2=A0 OCI (Oracle) ........................... no | =C2=A0 ODBC ................................... no | =C2=A0 PostgreSQL ............................. no | =C2=A0 SQLite2 ................................ no | =C2=A0 SQLite ................................. no | =C2=A0 =C2=A0 Using system provided SQLite ......... no | =C2=A0 TDS (Sybase) ........................... no | Qt Testlib: | =C2=A0 Tester for item models ................. yes | | Note: -hostbindir is not a subdirectory of -hostprefix. | Note: -hostlibdir is not a subdirectory of -hostprefix. | Note: -hostdatadir is not a subdirectory of -hostprefix. | | WARNING: No QPA platform plugin enabled! This will | produce a Qt that cannot run GUI applications. | See "Platform backends" in the output of --help. | | ERROR: Feature 'opengl-desktop' was enabled, but the pre-condition '(conf= ig.win32 && !config.winrt && !features.opengles2 && (config.msvc || libs.op= engl)) | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 || (!config.watchos && !config.win32 && !config.wasm && l= ibs.opengl)' failed. | | ERROR: The OpenGL functionality tests failed! | You might need to modify the include and library search paths by editing = QMAKE_INCDIR_OPENGL[_ES2], | QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for y= our platform. | WARNING: exit code 3 from a shell command. ERROR: Task (/home/poornesh/Mindteck_work/flexicare/yocto_RK3568_scarthgap/= sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_configure) failed with exi= t code '1' ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------- Thanks in Advance --3t0GxtAMrq08p5ghkUxj Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Greetings !
 
I have built a yocto for RK3568 (scarthgap) with core-image-minmal. I = have LCD in my custom carrier board , I have enabled wayland & weston b= y adding the below lines in local.conf.
 
# For weston
DISTRO_FEATURES:remove =3D "x11 "
DISTRO_FEATUR= ES:append =3D " wayland pam"
IMAGE_INSTALL:append =3D " wayland weston= weston-init weston-examples rockchip-libmali"
 
After this I could successfully see display . Now I need to add Qt int= o the source , can anyone suggest me to include QT without having any confl= ict with Wayland / Weston.  I am getting the below error in my case.
 
 
----------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------
| QPA backends:
|   DirectFB .......................= ........ no
|   EGLFS .................................. no
= |   LinuxFB ................................ no
|   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
|   PostgreS= QL ............................. no
|   SQLite2 .................= ............... no
|   SQLite ................................. n= o
|     Using system provided SQLite ......... no
| &nb= sp; TDS (Sybase) ........................... no
| Qt Testlib:
| &= nbsp; Tester for item models ................. yes
| 
| Note= : -hostbindir is not a subdirectory of -hostprefix.
| Note: -hostlibdi= r is not a subdirectory of -hostprefix.
| Note: -hostdatadir is not a = subdirectory of -hostprefix.
| 
| WARNING: No QPA platform p= lugin enabled! This will
| produce a Qt that cannot run GUI applicatio= ns.
| See "Platform backends" in the output of --help.
| | ERROR: Feature 'opengl-desktop' was enabled, but the pre-condition '(c= onfig.win32 && !config.winrt && !features.opengles2 &&a= mp; (config.msvc || libs.opengl))
|          =                 || (!config.watcho= s && !config.win32 && !config.wasm && libs.opengl)'= failed.
| 
| ERROR: The OpenGL functionality tests failed!<= br />| You might need to modify the include and library search paths by edi= ting QMAKE_INCDIR_OPENGL[_ES2],
| QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_= LIBS_OPENGL[_ES2] in the mkspec for your platform.
| WARNING: exit cod= e 3 from a shell command.
ERROR: Task (/home/poornesh/Mindteck_work/fl= exicare/yocto_RK3568_scarthgap/sources/meta-qt5/recipes-qt/qt5/qtbase_git.b= b:do_configure) failed with exit code '1'
 
----------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------
 
Thanks in Advance
 

--3t0GxtAMrq08p5ghkUxj--