You must install libQt5Pas-dev package to build lazarus qt5 apps, or lazarus itself.
If you cannot install it for any reason then
try sudo ln -s /usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2.9 /usr/lib/x86_64-linux-gnu/libQt5Pas.so
Now try to build.
Thanks for the hint. There was a symlink:
libQt5Pas.so.1. However, the symlink was missing:
libQt5Pas.so. After creating it, Lazarus generated the executable for the Qt5 widget set without any problems.
Indeed, there is a problem with the edit box (TEdit), i.e. after changing its property
Enabled from
False to
True, the color is set to white even though black was set at the design stage. Interestingly, this only happens for black (I checked a few other colors).