Forum > Linux

How to properly install Lazarus 2.0.12 on Ubuntu LTS to avoid libQt5Pas problems



I'm trying to cross-compile an application from Linux to RaspberryPI, so I can only use the QT5 widget set. But both Ubuntu 22.04 LTS and the Raspberry has the quite old libQt5Pas 1.2.6 package and that is not fully compatible with Lazarus 2.2 (for example, ZeosDBO from OPM will not be able to build).

It is possible to manualy upgrade libQt5Pas to the actual version, but that's not a simple thing to do and it would be needed on Raspberry also.,54010.0.html So I would like to avoid this if there is an other way.

So I installed the older .deb packages from here, to work with the older libQt5Pas.
Now I have Lazarus 2.0.12 with the default GTK2 widget set. But I was unable to re-compile the IDE to use QT5 widget set.

There are some "Panic" Permission denied messageas about folder access / creation in:

I do not know how to proceed further.

Instead of the old Lazarus install, I installed Ubuntu 22.10 on Raspberry, and turend it to lightweight Lubuntu manualy. This way I have the same libQt5Pas on both Rpi and desktop. So this topic is kinda solved.


[0] Message Index

Go to full version