[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


Hi

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
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5

2) Then there was OpenGL issue which I fixed by adding a line
      export LIBGL_ALWAYS_INDIRECT=1
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?

-- 
Regards
Safiur Rahman


More information about the User mailing list