Don't edit this markdown file, its generated from the tomboy-ng note.
Please Note : you probably don't need these files unless you are using Lazarus Main and Qt6. Several LTS distros will not have a viable Qt6 at present.
Download packaged libraries (Debs, RPMs and a tar ball) for x86_64 from https://github.com/davidbannon/libqt6pas/releases/latest
Its possible libraries pacman and for arm and arm64 will appear in the not too distant future.
libqt6pas is an interface between Lazarus and the Qt5 libraries. Not all Qt6 functions are available, only those necessary for Lazarus functionality. See https://wiki.freepascal.org/Qt6_Interface
This is an unofficial copy of the libqt6pas code from the Lazarus Main (aka Trunk, master). It is very new, should be regarded as experimental but does appear to work ! At some point in time, the distros will catch up and, if you can, you should use a distro distributed verion of the library. However, its possible that the libraries here will often be ahead of your distro.
The code here will never be ahead of that in the Lazarus trunk but will track it, superficially tested as changes are made to the relevant content in Lazarus Main.
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.
The main library Deb package looks a bit like this - libqt6pas6_2_0-0_amd64.deb
-
The package name is libqt6pas
-
The "6_2" indicates its based on Qt6.2 LTS series, works fine with later Qt6 too.
-
The "_0" will indicate later release of the bindings, still with Qt6.2
-
The "-0" is the usual debian packaging release, I'll increment that if I release new packages with same library.
The library itself, is called libQt6Pas.so.6.2.0
, note the upper case letters, its a Qt thing apparently. It will normally have symlinks from libQt6Pas.so.6.2 and libQt6Pas.so.6. If you have the -dev package installed, it will add a symlink from libQt6Pas.so
Note that in the early release stages of this library, its version number was 6.2.3 (reflecting the exact release it was first built on). That was wrong, you should remove and discard that package. It number conflicts ....
For example, on a November 2022 Debian Testing box.
sudo apt install qt6-base-dev c++ alien rpm lintian // bit over 400Meg
cd cbindings
qmake6 -query // just to have a look
qmake6 // to build the Makefile
make // build the library, slow !
cd package
./deb-package // Make debs and RPMs