Skip to content

Commit 40b40c8

Browse files
author
David Bannon
committed
merge
2 parents af32064 + 9ca92c2 commit 40b40c8

File tree

3 files changed

+20
-11
lines changed

3 files changed

+20
-11
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
**Unofficial libqt5pas**
22

3+
**Please Note : you probably don't need these files** The new things that changed between 1.2.8 and 1.2.9 have been removed from Lazarus because of a couple of technical issues. So, you should safely use either 1.2.8 or 1.2.9 with no problems. I hope. https://forum.lazarus.freepascal.org/index.php/topic,54010.0.html
4+
35
Download packaged libraries from https://github.com/davidbannon/libqt5pas/releases/latest
46

57
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
68

7-
This is an unofficial copy of the libqt5pas code from the Lazarus Trunk. It is personally (and only personally) recommended as the right version of libqt5pas to use at most times.
9+
This is an unofficial copy of the libqt5pas code from the Lazarus Trunk. 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.
810

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

@@ -14,18 +16,19 @@ Bug reports relating to this repository's packaging or currency should be report
1416

1517

1618
### Names and Numbers
17-
Note : Its suggested that the next 'release' be called 1.3.206, reflecting its relationship with Lazarus 2.0.6. That will achieve our aim of having a version number greater than all the various existing releases based on old code. Please consider commenting on this either via an 'issue' here or posting to https://forum.lazarus.freepascal.org/index.php/topic,48889.msg353900.html. If I get some indication that others think this is a good approach, I'll contact the various Linux distributions.
1819

19-
* The version number of the library here is initially **1.2.8**. Upon release of version 3.0.0 of Lazarus for example, this library will be labelled version 1.3.0.
20-
* The name of a package distributing this library is **libqt5pas1**
21-
* The version of the package distributing this package is second and third parts of the library version, that is initially **2.8**
22-
* The correct name of the installed library on a Linux (and similar) system is initially libqt5pas**.so.1.2.8** with a symlink to, at least libqt5pas.so.1
20+
It appears that Zelijko is now incrementing version numbers. The current release available here is 1.2.9 (April 2021) and that replaces the previous release, here, of 1.2.8 (March 2020).
21+
22+
23+
* The version of the package distributing this package is the second and third parts of the library version, that was initially **2.8**
24+
* The correct name of the installed library on a Linux (and similar) system was initially libqt5pas**.so.1.2.8** with a symlink to, at least libqt5pas.so.1
2325
* To make life easier for end users, please comply with these conventions.
2426

2527
### Prebuild Packages
26-
Provided are debs and rpms of the library itself and matching development packages. Only 64 bit packages are available. Most current Linux distributions have a reasonably current version of these libraries and if you can use those, you should do so.
28+
Provided are debs and rpms of the library itself and matching development packages. Only 64 bit packages are available. Most current Linux distributions usually have a reasonably current version of these libraries and if you can use those, you should do so. However, at present, few will have 1.2.9 and, unexpectedly, trunk Lazarus code (April 2021) will not work with older versions, even if you avoid using the new features.
2729

28-
However, older distributions, or distributions built on an older base such as **Ubuntu 18.04** and **Mageia 7.1** need newer libraries to work with current Lazarus code.
30+
Older distributions, or distributions built on an older base such as **Ubuntu 18.04** and **Mageia 7.1** need newer libraries to work with current **Release** Lazarus code such as Lazarus 2.0.6 through to Lazarus 2.0.12 (at time of writing).
31+
32+
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.
2933

30-
Newer distributions may require the newer libraries if they run a Lazarus application that depends on recent bug fixes or additions that their distribution have not yet picked up.
3134

cbindings/package/changelog.libqt5pas

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
libqt5pas (1.2.9) unstable; urgency=medium
2+
3+
* TLazAccessibleObject accessinility functionality for Qt5 widgetsets
4+
5+
-- David Bannon <[email protected]> Tue, 06 Apr 2021 18:29:02 +1100
6+
17
libqt5pas (1.2.8) unstable; urgency=medium
28

39
* Calling this version 1.2.8

cbindings/package/deb-package

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function WriteControl () {
4747
echo "Depends: $PRODUCT$MAJORVER (>= $MINORVER)" >> BUILD/DEBIAN/control
4848
echo "Section: libdevel" >> BUILD/DEBIAN/control
4949
echo "Description: Development files for Qt5Pas" >> BUILD/DEBIAN/control
50-
echo " Provides interface for Pascal applications tp Qt6 C++ libs" >> BUILD/DEBIAN/control
50+
echo " Provides interface for Pascal applications to Qt5 C++ libs" >> BUILD/DEBIAN/control
5151
else
5252
echo "Installed-Size: 3314" >> BUILD/DEBIAN/control
5353
echo "Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libqt5core5a (>= 5.7.0), libqt5gui5 (>= 5.6.0~beta) | libqt5gui5-gles (>= 5.6.0~beta), libqt5network5 (>= 5.6.0~beta), libqt5printsupport5 (>= 5.2.0), libqt5widgets5 (>= 5.6.0~beta), libqt5x11extras5 (>= 5.6.0), libstdc++6 (>= 5)" >> BUILD/DEBIAN/control
@@ -115,7 +115,7 @@ DebianPackageDev
115115

116116
ls -ltr
117117

118-
echo " === OK, now make the rpms with sudo bash ./rpm-package <enter> ==="
118+
echo " === OK, now make the rpms with fakeroot bash ./rpm-package.bash <enter> ==="
119119

120120

121121

0 commit comments

Comments
 (0)