Some discussion here
https://forum.lazarus.freepascal.org/index.php/topic,47125.msg340226.html about making it easier to get QT5 widget set going on LTS Ubuntus a bit easier.
I have made two deb files that replace the Ubuntu 18.04 official repo version of libQt5Pas1 and, if needed the dev version of the same thing. As I cannot upload debs to here, they are on my apps Github page, see
https://github.com/tomboy-notes/tomboy-ng/releases/latestThe main one is suitable for you to direct your end users to install before installing a QT5 app on Ubuntu 18.04 or to install over top of an existing (repo based) libQt5Pas1. It will also install Qt5 if necessary if you use something that resolves dependencies ie
sudo apt install ./libqt5pas1_2.6~beta-5_amd64.deb <enter>
But remember you MUST prepend the ./ to the filename or set a valid path to the filename. And don't use the silly 'Software' application to install it, it will not resolve dependencies. No reason why you should not use the contents of that deb in your own deb file.
If you already have the development version of libqt5pas, then you MUST uninstall it before installing the new library, the new library breaks the official Ubuntu -dev package. after installing the new package, install its companian -dev package, you need that to develop Qt5 apps with Lazarus.
Note that this approach is not necessary for U19.10 and will not help at all for U16.04
Please test, if others find this useful I will reference it on the wiki.
Background - all I have done is download the official Ubuntu packages, opened them up, replaced the library with one built according to the Lazarus instructions, uped the version number and altered the homepages and maintainer contact. Rebuilt the debs with rev'ed version number.
Davo