Skip to content

Latest commit

 

History

History
80 lines (27 loc) · 3.56 KB

README.md

File metadata and controls

80 lines (27 loc) · 3.56 KB

README

Unofficial libqt5pas

Don't edit this markdown file, its generated from the tomboy-ng note.

Please Note :A release version of Lazarus earlier than Lazarus 3.0 does not use these libraries. However, if you build with Lazarus 3.0 or later (including the current 3.0rc1 or 3.0rc2) you do need them (unless you build your own).

At some point in time, after the formal release of Lazarus 3.0, the distributions will start shipping the newer libQt5pas and only Lazarus Main users will need these packages again. Note, its likely there will be some conflict of version numbers, we will see !

Download packaged libraries for Intel 64 bit and arm 32 and 64 bit from https://github.com/davidbannon/libqt5pas/releases/latest

libqt5pas is an interface between Lazarus and the Qt5 libraries. Not all Qt5 functions are available, only those necessary for Lazarus functionality. See https://wiki.freepascal.org/Qt5_Interface

This is an unofficial copy of the libqt5pas code from the Lazarus Main (aka Trunk, master). It is personally (and only personally) recommended as the right version of libqt5pas to use if the version in your Linux Distribution Repo does not support Qt5 with Lazarus. That will only ever be because your binary was compiled from a later version of Lazarus than your repo's version of libQt5Pas.

The code here will never be ahead of that in the Lazarus trunk but will track it, superficially tested, at least at each major release of Lazarus.

Bug reports about the library itself should be submitted to the normal Lazarus bug tracking system, https://gitlab.com/groups/freepascal.org/lazarus/-/issues

Bug reports relating to this repository's packaging or currency should be reported here.

Names and Numbers

The current release available here is 1.2.15 (September 2023).

  • The version of the package distributing this package is the second and third parts of the library version, that was initially 2.8

  • The correct file name of the installed library on a based Linux (and similar) system was initially libqt5pas.so.1.2.8 with a symlink to, at least libqt5pas.so.1

  • In the packaging process, the '1' appears to be merged into the name sometimes. Not in the dev version however.

  • This library is called libQt5Pas.so.1.2.13 and has a symlink to libQt5Pas.so.1 built into the packaging. BUT Zeljko's code also makes two more symlinks (libQt5Pas.so and libQt5Pas.so.1.2), maybe a good idea if you are manually installing.

Prebuild Packages

Provided are debs and rpms of the library itself and matching development packages. Gzipped Tar balls are also provided for experienced users. Most current Linux distributions usually have a reasonably current version of these libraries that will work fine with, up to Lazarus 2.2.6, if you can use those, you should do so.

If you are using older distributions, or distributions built on an older base such as Ubuntu 18.04 and Mageia 7.1 you need these newer libQt5Pas libraries to work with current Release Lazarus code such as Lazarus 2.0.6 through to Lazarus 2.2.4 (at time of writing). But better to update your Linux IMHO.

Note that even earlier Linux Distributions, such as Ubuntu 16.04 will not work with Lazarus Qt5 even with the addition of these libraries. Their Qt5 is too old.

Its believed that these libraries will always be backwards compatible, that is, the ones here will work with any earlier Lazarus (as long as the distribution's Qt5 itself is OK).

PLEASE report any probems you have, I cannot fix a problem I don't know about.