My application currently runs with gtk2, but as it is getting long in the tooth I thought I look at switching to QT. Googled for instructions.
Running Linux Mint 20.3 and lazarus 2.0.10.
Downloaded and installed:
- libqt5pas1 v2.9
- libqt5pas-dev v2.9
Note - not the versions in the repos, they are v2.6.
In lazarus: Projects -> Project Options -> Additions & Overrides -> Set "Value qt5"
Compiled okay, ran and not quite what we want! See screenshots. Most of my objects have disappeared. Screenshots show it all. Each tab on the main window is a TBasePanel = class(TPanel) that has the TCheckListBoxes and labels.
On start the application reads the system, the window for that displays ok with QT - another screenshot.
Thought this would be straightforward, what am I missing?
Also note that under set "LCLWidgetType" GTK3 is an option. I thought lazarus didn't support GTK3 which is why I'm looking at QT?
EDIT - tried Set "Value GTK3" and got an error while linking