Skip to contentSkip to conversation

Add qtbase and qtwayland to core-image-minimal

DISCUSSION Poornesh G ( India - Bangalore ) 3 participants 3 messages Jul 22, 2024

lore
Share & tools
lore
#0 lore raw

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 = "x11 "
DISTRO_FEATURES:append = " wayland pam"
IMAGE_INSTALL:append = " wayland weston weston-init weston-examples rockchip-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 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
|   PostgreSQL ............................. no
|   SQLite2 ................................ no
|   SQLite ................................. no
|     Using system provided SQLite ......... no
|   TDS (Sybase) ........................... no
| Qt Testlib:
|   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 '(config.win32 && !config.winrt && !features.opengles2 && (config.msvc || libs.opengl))
|                           || (!config.watchos && !config.win32 && !config.wasm && libs.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 your 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 exit code '1'

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thanks in Advance

#1 lore raw

Hi,

Quoted 44 lines · Poornesh G ( India - Bangalore ) via lists.yoctoproject.org

You don't often get email from [email protected]. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> 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 = "x11 "
DISTRO_FEATURES:append = " wayland pam"
IMAGE_INSTALL:append = " wayland weston weston-init weston-examples rockchip-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 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
|   PostgreSQL ............................. no
|   SQLite2 ................................ no
|   SQLite ................................. no
|     Using system provided SQLite ......... no
|   TDS (Sybase) ........................... no
| Qt Testlib:
|   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.
|
Quoted 8 lines
| 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 '(config.win32 && !config.winrt && !features.opengles2 && (config.msvc || libs.opengl))
|                           || (!config.watchos && !config.win32 && !config.wasm && libs.opengl)' failed.
|
| ERROR: The OpenGL functionality tests failed!

You're likely missing some opengl distro feature?

Cheers,
Quentin

#2 lore raw

unsubscribe

Quoted 71 lines · Quentin Schulz via lists.yoctoproject.org

Hi,

Quoted 44 lines · Poornesh G ( India - Bangalore ) via lists.yoctoproject.org

You don't often get email from [email protected]. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> 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 = "x11 "
DISTRO_FEATURES:append = " wayland pam"
IMAGE_INSTALL:append = " wayland weston weston-init weston-examples rockchip-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 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
|   PostgreSQL ............................. no
|   SQLite2 ................................ no
|   SQLite ................................. no
|     Using system provided SQLite ......... no
|   TDS (Sybase) ........................... no
| Qt Testlib:
|   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.
|
Quoted 8 lines
| 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 '(config.win32 && !config.winrt && !features.opengles2 && (config.msvc || libs.opengl))
|                           || (!config.watchos && !config.win32 && !config.wasm && libs.opengl)' failed.
|
| ERROR: The OpenGL functionality tests failed!

You're likely missing some opengl distro feature?

Cheers,
Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63547): https://lists.yoctoproject.org/g/yocto/message/63547
Mute This Topic: https://lists.yoctoproject.org/mt/107480923/8036462
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-