Recent

Author Topic: LCL: Is it possible to use LCL component in other languages like Qt?  (Read 1310 times)

Milsa

  • Sr. Member
  • ****
  • Posts: 328
Can I use LCL in NET or clear C++?
I work with Lazarus 4.0, FPC 3.2.2, date 2025-05-03
This information is actual to: 3rd Aug 2025

Tony Stone

  • Sr. Member
  • ****
  • Posts: 280
Re: LCL: Is it possible to use LCL component in other languages like Qt?
« Reply #1 on: April 15, 2023, 01:14:30 am »
If you wanted controls for C++ or other Languages, wouldn't you just use GTK API directly...?  Or QT or WinAPI etc?  I mean essentially using LCL would just add another layer and complexity, wouldn't it?  But to answer your question(i cant really) I think you would need to make your own API to use (a wrapper?) LCL in your C++ programs.  I think it is an interesting idea though....  will have to see what actual programmers have to say on this.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12845
  • FPC developer.
Re: LCL: Is it possible to use LCL component in other languages like Qt?
« Reply #2 on: April 15, 2023, 12:39:28 pm »
Nothing ready to run. There is a hypothetical bridge possibility like e.g. done for Golang in the GoVCL project, but I'm not sure how practical that is and if it is much used

https://github.com/ying32/govcl

Milsa

  • Sr. Member
  • ****
  • Posts: 328
Re: LCL: Is it possible to use LCL component in other languages like Qt?
« Reply #3 on: April 15, 2023, 09:04:20 pm »
I can not work with other libraries. I can work with LCL. Qt has many DLL in final application. LCL is better, but...

What is it?
https://wiki.freepascal.org/LCL_Bindings

Is it answer to my question? But it is form and button only made?
I work with Lazarus 4.0, FPC 3.2.2, date 2025-05-03
This information is actual to: 3rd Aug 2025

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: LCL: Is it possible to use LCL component in other languages like Qt?
« Reply #4 on: April 15, 2023, 10:32:39 pm »
Is it answer to my question? But it is form and button only made?
Could be and should be. But as you can see for yourself, nobody is interested enough to advance it. This serves as an initial effort, with the hope that someone interested will continue, as LCL is big, damn big. So improvement and maintenance would be a hard work. Turns out, nobody wants to do it, so...

 

TinyPortal © 2005-2018