Re: [Lazarus] "Execute before" is executed after resource generation?

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 21:46, Luca Olivetti via lazarus ha escrit: El 23/5/24 a les 20:47, Marc Weustink via lazarus ha escrit: In this case, don't use the project.res, but use your own. You can include multiple resource files. So you can generate it before. I just followed the instructions here (an

Re: [Lazarus] "Execute before" is executed after resource generation?

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 20:47, Marc Weustink via lazarus ha escrit: In this case, don't use the project.res, but use your own. You can include multiple resource files. So you can generate it before. I just followed the instructions here (and have been doing it for many years, even if this is the fir

Re: [Lazarus] "Execute before" is executed after resource generation?

2024-05-23 Thread Marc Weustink via lazarus
In this case, don't use the project.res, but use your own. You can include multiple resource files. So you can generate it before. Marc On May 23, 2024 1:32:06 PM GMT+02:00, Luca Olivetti via lazarus wrote: >El 23/5/24 a les 12:40, Mattias Gaertner via lazarus ha escrit: >> >> >> On 5/22/24

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 16:11, Luca Olivetti via lazarus ha escrit: El 23/5/24 a les 15:43, zeljko ha escrit: No such error when using gtk2, but I prefer qt5. It is KDE problem (probably bug), disable in IDE options -> Windows -> "IDE title shows project directory" and it'll work. Thank you, I'll

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 15:43, zeljko ha escrit: No such error when using gtk2, but I prefer qt5. It is KDE problem (probably bug), disable in IDE options -> Windows -> "IDE title shows project directory" and it'll work. Thank you, I'll try that if it happens again. Strangely enough, it doesn't ha

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread zeljko via lazarus
On 23. 05. 2024. 10:37, Luca Olivetti via lazarus wrote: As per the subject, if I compile the ide with qt5 I cannot open anything (projects, units, etc.), since the file open dialog gives an error (localizer, approximate translation) "cannot create worker KIO process. Couldn't create a socke

Re: [Lazarus] "Execute before" is executed after resource generation?

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 12:40, Mattias Gaertner via lazarus ha escrit: On 5/22/24 15:03, Luca Olivetti via lazarus wrote: Hello, I'm trying to use the "Compiler commands" -> "Execute before" to generate a file that will be embedded as a resource in the executable, but it seems the command is execu

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 12:58, Mattias Gaertner via lazarus ha escrit: On 5/23/24 12:47, Luca Olivetti via lazarus wrote: [...] 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 fin

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Mattias Gaertner via lazarus
On 5/23/24 12:47, Luca Olivetti via lazarus wrote: [...] 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 "sol

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
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

Re: [Lazarus] "Execute before" is executed after resource generation?

2024-05-23 Thread Mattias Gaertner via lazarus
On 5/22/24 15:03, Luca Olivetti via lazarus wrote: Hello, I'm trying to use the "Compiler commands" -> "Execute before" to generate a file that will be embedded as a resource in the executable, but it seems the command is executed after the resources are compiled (there's a message complai

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
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

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Marco van de Voort via lazarus
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 `WSRegisterCust

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 12:01, Luca Olivetti via lazarus ha escrit: El 23/5/24 a les 10:38, Luca Olivetti via lazarus ha escrit: I rebuilt the ide again with qt5 and the problem is gone. Weird. El 23/5/24 a les 10:37, Luca Olivetti via lazarus ha escrit: Forgot to say, this is under debian 12 x86_64

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 10:38, Luca Olivetti via lazarus ha escrit: I rebuilt the ide again with qt5 and the problem is gone. Weird. El 23/5/24 a les 10:37, Luca Olivetti via lazarus ha escrit: Forgot to say, this is under debian 12 x86_64 with plasma desktop. As per the subject, if I compile the i

Re: [Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
El 23/5/24 a les 10:37, Luca Olivetti via lazarus ha escrit: Forgot to say, this is under debian 12 x86_64 with plasma desktop. As per the subject, if I compile the ide with qt5 I cannot open anything (projects, units, etc.), since the file open dialog gives an error (localizer, approximate t

[Lazarus] lazarus 3.2 and qt5, cannot open anything

2024-05-23 Thread Luca Olivetti via lazarus
As per the subject, if I compile the ide with qt5 I cannot open anything (projects, units, etc.), since the file open dialog gives an error (localizer, approximate translation) "cannot create worker KIO process. Couldn't create a socket to launch the KIO process for the 'tags' protocol". No suc

Re: [Lazarus] "Execute before" is executed after resource generation?

2024-05-23 Thread Luca Olivetti via lazarus
El 22/5/24 a les 15:03, Luca Olivetti via lazarus ha escrit: Hello, I'm trying to use the "Compiler commands" -> "Execute before" to generate a file that will be embedded as a resource in the executable, but it seems the command is executed after the resources are compiled (there's a message