Lazarus

Programming => Widgetset => QT => Topic started by: cpalx on July 23, 2021, 08:36:09 pm

Title: libqt5pas | how to get the lastest
Post 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?
Title: Re: libqt5pas | how to get the lastest
Post by: winni on July 23, 2021, 09:33:29 pm
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
Title: Re: libqt5pas | how to get the lastest
Post by: dbannon on July 24, 2021, 02:20:22 am
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
Title: Re: libqt5pas | how to get the lastest
Post by: cpalx on July 24, 2021, 06:20:15 pm
@dbannon, yes i have instaleld, but i need the last one.
I have problems to compile lazarus 2.2RC1 with QT5
Title: Re: libqt5pas | how to get the lastest
Post by: cpalx on July 24, 2021, 06:24:22 pm
@Winni, works perfectly

but I would like to compile by my self.

Please any help?
Title: Re: libqt5pas | how to get the lastest
Post by: dbannon on July 25, 2021, 02:26:26 am
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
Title: Re: libqt5pas | how to get the lastest
Post by: cpalx on July 26, 2021, 12:54:42 am
i am using KDE neon, nut the same problem is in Kubuntu 20.04.
Title: Re: libqt5pas | how to get the lastest
Post by: cpalx on July 26, 2021, 01:30:10 am
Here is Error with the old libqt5pas
Title: Re: libqt5pas | how to get the lastest
Post by: dbannon on July 26, 2021, 02:16:42 am
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
Title: Re: libqt5pas | how to get the lastest
Post by: zeljko on July 26, 2021, 08:56:25 am
For building Qt5 apps with Lazarus you must install libqt5pas-dev package.
Title: Re: libqt5pas | how to get the lastest
Post by: dbannon on July 26, 2021, 12:59:25 pm
Yeah, of course, I meant to say -dev in above post. Sigh ...

Code: [Select]
sudo apt install libqt5pas-dev
It will pull in libqt5pas and any more of the Qt5 libraries needed.

Davo
TinyPortal © 2005-2018