[Lazarus] lazarus 3.2 and qt5, cannot open anything

Luca Olivetti luca at wetron.es
Thu May 23 12:47:08 CEST 2024


El 23/5/24 a les 12:33, Luca Olivetti via lazarus ha escrit:
> El 23/5/24 a les 12:26, Marco van de Voort via lazarus ha escrit:
>>
>> Op 23-5-2024 om 12:15 schreef Luca Olivetti via lazarus:
>>>
>>>
>>> Warning: linker: /usr/bin/ld: 
>>> /home/luca/Datos/laz_3_2/lcl/lib/LCLBase/3.2.2/x86_64-linux/Default/wsimglist.o: in function `REGISTERCUSTOMIMAGELISTRESOLUTION':
>>> wsimglist.pp(265,0) Error: linker: undefined reference to 
>>> `WSRegisterCustomImageListResolution'
>>>
>>>
>>> BTW, this is related to
>>>
>>> https://github.com/bgrabitmap/bgrabitmap/issues/253
>>>
>> Do you have the interfaces unit early in your .lpr USES list?
>>
> 
> No, it's not supposed to be a GUI program.
> I added it now, it compiles, but then I have the problem reported in the 
> BGRAbitmap bugtracker (and I wonder why it compiled fine without the 
> interfaces unit and the gtk2 widgetset).

I "solved" the "too many libraries" problem using the nogui widgetset.
It's a solution I'm not really comfortable with but it seems to work.
I wonder why, back when when I originally wrote the program with lazarus 
2.0.12, neither the "interfaces" unit was needed nor the project pulled 
so many libraries.

Bye

-- 
Luca Olivetti
Wetron Automation Technology https://wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007



More information about the lazarus mailing list