Will need packaing qtpas.
There's a copy of libqt5pas in the lazarus source archive, but there's also one in github following a conversation about versioning in the lazarus forums in March 2020: https://forum.lazarus.freepascal.org/index.php?topic=48889.0
The v1.2.8 in github works with lazarus-2.0.6 and v1.2.9 in github works with lazarus-2.0.12. The attached ebuild uses the github sources and version numbers follow the ones in qmake.pro.
When running Lazarus IDE in qt5, an additional patch is required to fix a font issue in the IDE editor windows, Lazarus bug #36483. This affects Lazarus 2.0.6 & 2.0.12. The attached patch fixes both these versions.
Created attachment 746832 [details]
Created attachment 746835 [details, diff]
Patch for dev-lang/lazarus-2.0.2/6/12 - fix qt5 font issues in IDE