[Gambas-user] cannot load component 'gb.qt5' - WSL Ubuntu 20.04

Safiur Rahman isafiur at gmail.com
Sun May 2 06:54:21 CEST 2021


1) When I installed a QT5 gambas app in Windows 10 WSL (version 1)
running on Ubuntu 20.04 with xubuntu-core I got the error:

"Cannot load component 'gb.qt5': libQt5Core.so.5: cannot open shared
object file: No such file or directory"

I fixed the issue by executing following:
$ sudo strip --remove-section=.note.ABI-tag

2) Then there was OpenGL issue which I fixed by adding a line
to file /etc/bash.bashrc

3) Now after running
  $ export DISPLAY=:0
I can execute my application. The free forms (eg. frm.Show or
frm.SHowModal) work fine but the forms embedded in WorkSpace are not
usable. You cannot write anything to forms embedded in WorkSpace.

Is there any way to solve the issue with forms embedded in workspaces?

Safiur Rahman

More information about the User mailing list