am deviating further off topic i fear...
just installing the following worked:
sudo apt install libqt5pas-devfor the project i then tested (around 5000 lines of code), the only code change i needed to make was in one place where i had a TLabel that had multiple lines of text being assigned to it, with lines separated by carriage returns. i needed to change the carriage returns to carriage return + line feed, as just carriage returns alone were ignored by Qt5.
however, i couldn't figure out any simple
apt install for Qt6, and this page:
https://wiki.freepascal.org/Qt6_Interface#Linux suggests that Qt6 is not entirely bug-free.
does Qt6 provide backward compatibility with Qt5? ie, will a machine with Qt6 on it be likely to also have Qt5 present, or a Qt5 'compatibility layer'?
another question - at the moment, if i give someone an ELF binary built for GTK2 they can (based on feedback i've received) just run it without any problems - they do not need to install anything else. does the same hold for an ELF binary i've built for Qt5? or do i also need to have them install libqt5pas.so? or is libqt5pas.so always present in distros that out-of-the-box have Qt5 installed?
and lastly - how do i configure the Lazarus IDE to build
multiple ELF binaries using different widget sets, without my needing to go into Project -> Options and change build mode manually? can
one build mode be set up to do this? if i set up two lines in a mode, with both 'ticked', it only seems to use one of them (see below image).
ideally, i'd like to be able to have, for example, building
Project1 to produce
two ELF images called
Project1.GTK2 and
Project1.Qt5. is this possible?
cheers,
rob :-)