1
.......in the next release of the compiler.The next release ? Wow, it would be so good to see that.
Davo
Waiting for Godot?
function IsComment(const AString: string): boolean;
const
Comments: set of Char =[';','#'];
var
c: char;
begin
Result := False;
if (AString > '') then
Result:=(AString[1] in Comments);
end;
My distro decided to depreciate qt5pas-dev so I am now unable to build with qt5. I am trying to figure out where and how to build it for myself. Can someone point me in the right direction? Thanks
If you mean that your distro has libqt5pas but not libqt5pas-dev then its easy, in practice all the -dev library is is a symlink to the basename.so
eg -
dbannon@dell:~/Pascal/tomboy-ng/source$ ls -la /usr/lib/x86_64-linux-gnu/libQt5Pas* lrwxrwxrwx 1 root root 19 Sep 5 2023 /usr/lib/x86_64-linux-gnu/libQt5Pas.so -> libQt5Pas.so.1.2.15 lrwxrwxrwx 1 root root 19 Sep 5 2023 /usr/lib/x86_64-linux-gnu/libQt5Pas.so.1 -> libQt5Pas.so.1.2.15 lrwxrwxrwx 1 root root 19 Sep 5 2023 /usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2 -> libQt5Pas.so.1.2.15 -rw-r--r-- 1 root root 2689976 Sep 5 2023 /usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2.15
Without the -dev package, you don't get the libQt5Pas.so symlink, needed at link time. So, create it.
If you meant to say you cannot get the actual library, in this case, libQt5Pas.so.1.2.15 then its only a touch harder. As dogriz said, instructions in the source, its easy but a time consuming process so I have made available precompiled and packaged one at https://github.com/davidbannon/libqt5pas, there you will find debs and rpms. Also, just a plain tgz of the libarary and further instructions to put in in place on a system that does not use one of those packages. And you will find the scripts I use to build and package ....
Davo
I have installed the installer myself, no problems. Please make sure your antivirus hasn't become selfaware due to AI, and thus a bit paranoid.