Forum > GTK

Using GTK3 on Lazarus

<< < (2/4) > >>

JuhaManninen:
I have a related question: Can anybody use the Lazarus IDE built with LCL-GTK3 on Linux or any other OS?
I can build and start it but there are many errors. WMSize loop as indicated by the screenshot. Most windows show only partially. The source editor window is empty.
This is strange because most test applications work OK. That is how I was able to test patches for LCL-GTK3.
I am testing with Manjaro Linux 64-bit + KDE, building Lazarus IDE with all debug flags.
I remember a comment in the past from somebody using a LCL-GTK3 IDE, but maybe I misunderstood. I cannot find it now.

[Edit] The same effect with debug flags off and optimization on.

valdir.marcos:
How much correct is this roadmap about LCL-GTK3 development?
https://wiki.lazarus.freepascal.org/Roadmap#Widgetset_dependent_components


Interesting discussion about GTK's lack of backward-compatibility [even in major updates]:

[Lazarus] GTK 3.0
Jul 09, 2016; 8:16am
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-GTK-3-0-td4048926.html
https://davmac.wordpress.com/2016/07/05/why-do-we-keep-building-rotten-foundations/

Jurassic Pork:
hello JuhaManninen ,

--- Quote from: JuhaManninen on February 20, 2021, 09:39:51 am ---I have a related question: Can anybody use the Lazarus IDE built with LCL-GTK3 on Linux or any other OS?
I can build and start it but there are many errors. WMSize loop as indicated by the screenshot. Most windows show only partially. The source editor window is empty.
This is strange because most test applications work OK. That is how I was able to test patches for LCL-GTK3.
I am testing with Manjaro Linux 64-bit + KDE, building Lazarus IDE with all debug flags.
I remember a comment in the past from somebody using a LCL-GTK3 IDE, but maybe I misunderstood. I cannot find it now.
[Edit] The same effect with debug flags off and optimization on.

--- End quote ---
I am trying to build Lazarus LCL-GTK3 under Ubuntu 20.04.
I can't build it because i have errors on Delphicompat.pas file  on these two lines :

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---{$i uses.inc}//...{$i delphicompat.inc}   files not found !
in the folder  fpcupdeluxe/lazarus/components/lclextensions/include  there isn't a folder for gtk3 !
Friendly, J.P

JuhaManninen:
LclExtensions is yet another issue. Apparently it has no support has support for GTK3 only in trunk.
However Lazarus IDE does not need it. I am able to build the IDE but it does not work.

Jurassic Pork:
how can i build lazarus ide without lclextensions ?   flags ? options ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version