Forum > General

Lazarus Dark theme...

<< < (4/5) > >>

jex:

--- Quote from: zamtmn on January 06, 2022, 08:47:24 pm ---If build lazarus with qt5 for windows and using https://github.com/doublecmd/doublecmd/blob/master/src/platform/win/udarkstyle.pas you can get a dark theme

--- End quote ---

Can you please provide steps on how to achieve that or maybe release a compiled binary?

zamtmn:
https://disk.yandex.ru/d/_LWZvwTJG0x7vw

Copy darklazqt5/lazarus to your lazarus directory (this contains 64bit qt dll and udarkstyle.pas)
Apply darklazqt5/lazarus.pp.patch
Build Lazarus with qt5 widget type

contains only 64bit dll

jex:

--- Quote from: zamtmn on February 28, 2022, 03:50:53 am ---https://disk.yandex.ru/d/_LWZvwTJG0x7vw

Copy darklazqt5/lazarus to your lazarus directory (this contains 64bit qt dll and udarkstyle.pas)
Apply darklazqt5/lazarus.pp.patch
Build Lazarus with qt5 widget type

contains only 64bit dll

--- End quote ---

Perfect! Thank you so much for the help!
Got it working, looks great.

More info that might help others, I also used "Delphi IDE Theme Editor" tool and using "yggdrasil" theme.
What it means to "Apply lazarus.pp.patch" is that you need Git, copy the patch file to the lazarus installation folder and use CMD to get to the same folder and use "git apply lazarus.pp.patch" and that's it. Now launch lazarus normally. To get docked style IDE, I used these packages packages (from menu Packages Install/Uninstall packages): "AnchorDocking 1.0," "AnchorDockingDsgn 1.0" and "DockedFormEditor 0.0".

If you try to compile a project you may get an error if you don't have qt5 installed, you can use LCL by going to Project options > Config and targets > I chose win32 wigetset because I'm on Windows. --- Waiting for M$ implements an actual win32 GLOBAL dark theme  ::)

Hope this helps.

Frate:
Hi,

I'm trying to build lazarus v2.2.0 with qt5 following your advice.
Unfortunately I'm having this issue when trying to build:


--- Code: Text  [+][-]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";}};} ---glqtcontext.pas(25,57) Fatal: Can't find unit X used by GLQTContext
probably related to this https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/38969, but if so how were you able to build it?
Do I need another version of Lazarus?
Maybe works only on 32bit (downloading now to try)?

I appreciate any help

Update:
I'm able to build the 32 bit version but when running lazarus.exe i get a Qt5Network.dll not found. I'm now downloading Qt following this wiki https://wiki.freepascal.org/Qt5_Interface

zamtmn:
LazOpenGLContext support only GLX, not true qt opengl control. this is old issue((

Only uninstall LazOpenGLContext((

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version