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

Rolf-Werner Eilert rwe-sse at osnanet.de
Mon May 3 09:28:48 CEST 2021

Am 02.05.21 um 06:54 schrieb Safiur Rahman:
> 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"

Doesn't that mean that qt5 wasn't installed at all? Logical, the basic 
WSL version only has commandline support.

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

You will need another program that translates any graphical output to 
the Windows screen. When I tried it, there were two of them playing a 
major role, and I installed one of them (I will look it up if you wish). 
So you will have to start the X Screen program first, and then the 
graphical software from the WSL.

After installing from within the commandline environment some of the 
Linux software I needed, amongst others Gambas, I could successfully 
start Gambas and Gambas applications.

The only glitch was that this WSL doesn't support a file system on a 
shared Samba drive, that was the main show stopper for me.


More information about the User mailing list