Lazarus
Programming => Widgetset => QT => Topic started by: cpalx on July 23, 2021, 08:36:09 pm
-
Hello,
How can i get the lastest libqt5pas?
where to download?
if i have to compile, how to compiled?
-
Hi!
The latest version I know is from April 2021.
rpm, deb and source available:
https://github.com/davidbannon/libqt5pas/releases/tag/v1.2.9 (https://github.com/davidbannon/libqt5pas/releases/tag/v1.2.9)
Winni
-
You probably don't need that version that winni mentioned. Most Linux (and we assume you are using Linux) distros that have suitable Qt5 also have a suitable libqt5pas1 package.
Maybe if you outline your use case, we could be a bit more forthcoming.
Davo
-
@dbannon, yes i have instaleld, but i need the last one.
I have problems to compile lazarus 2.2RC1 with QT5
-
@Winni, works perfectly
but I would like to compile by my self.
Please any help?
-
If you look in the Lazarus source, lcl->interfaces->qt5 there is a directory in there with everything ypu need, including instructions on building.
I am a bit surprised that you say you must have that newer version to use the release candidate. Can you tell us what OS you are using ? The only currently supported (mainstream) one that might be an issue is U18.04. U16.04 does not have a usable QT. U18.04 does need a new libqt5pas but should not need the 'newest' one on that github page, that newest incorporated some changes Zelijko introduced, and then reversed, that supported a screenreader.
Davo
-
i am using KDE neon, nut the same problem is in Kubuntu 20.04.
-
Here is Error with the old libqt5pas
-
That error is saying it cannot find any libqt5pas, did you check that the distro package one is installed ?
Its not installed automatically when you install Lazarus because Lazarus is not sure you are going to use Qt5. So, its a manual install.
sudo apt install libqt5pas on an Ubuntu like box.
(there is no reason why you should not make your own and use it but it becomes a nuisance if you want to distribute the app to other users.)
Davo
-
For building Qt5 apps with Lazarus you must install libqt5pas-dev package.
-
Yeah, of course, I meant to say -dev in above post. Sigh ...
sudo apt install libqt5pas-dev
It will pull in libqt5pas and any more of the Qt5 libraries needed.
Davo