I'm running a 32 bit Linux 19.3 in a VM, I have Lazarus 2.2 installed, I have installed libqt5pas1 and libqt5pas-dev using sudo apt install. I load a project into Lazarus and set LCLWidgetType to qt5 and F9 to compile. All seems fine until the following error messages...Has anyone any ideas as to what the problem is please ?
Compile Project, Mode: QT5, Target: QcadUserTheme: Exit code 1, Errors: 3 Error: /home/pete/.lazarus/lib/units/i386-linux/qt5/qtwidgets.o: In function `TQTABSTRACTSPINBOX__SETVALUE': Error: /usr/share/lazarus/2.2.0/lcl/interfaces/./qt5/qtwidgets.pas:(.text.n_qtwidgets$_$tqttextedit_$__$$_settexthint$ansistring+0x73): undefined reference to `QTextEdit_setPlaceholderText' QcadUserTheme.lpr(15,36) Error: Error while linking
You can build your own libqt5pas or use the deb from https://github.com/davidbannon/libqt5pasI'd like to do that but can't find much info on how to build, and all those debs are 64bit.
But you would be far better updating your OS I am afraid.As I mentioned, 19.3 is 32 bit on a VM, I run Linux 20.3 as my main os, just using the 19.3 vm to compile a 32bit version of my projects.
And even with newer OS, consider using the official Lazarus install kits rather than the ones from your distro.I did use the official Lazarus packages.
Cross compiling from your 64bit install to 32bit is also a impracticable option.Oh I've been there and lost a lot of hair trying to make it work. It's why I've also got a Win 10 VM for compiling to Windows 32 bit, VM's makes life so much easier
.....I have described it all on the cross compiling wiki page......That could be interesting, could you post the link to your wiki page please 8)