Il 18/04/2023 12:33, Mattias Gaertner ha scritto:
Tools / Configure Build Lazarus / page Build / groupbox Clean up /
Clean all
https://wiki.lazarus.freepascal.org/IDE_Window:_Configure_Build_Lazarus#Buttons
Mattias
I've found why the radio buttons aren't visible anymore in my setup. My
installation is standard for Linux: lazarus in /usr/lib64 owned by root,
build occurs in my local .lazarus folder. But there's some mix-up
between source directory (read-only) and target directory (writable)
In buildlazdialog.pas you find:
procedure TConfigureBuildLazarusDlg.ShowHideCleanup(aShow: Boolean);
// When target directory is read-only, hide Radiobuttons and show a
single checkbox. begin CleanAutoRadioButton.Visible:=aShow;
CleanCommonRadioButton.Visible:=aShow;
CleanAllRadioButton.Visible:=aShow; CleanOnceCheckBox.Visible:=aShow;
CleanCommonCheckBox.Visible:=not aShow; end;
I just changed the ownership of /usr/lib64/lazarus, from root to me and
the radiobuttons do show.
The same mix-up occurs with the QT5 directory. When attempting to build
a QT5 version it complains that it cannot create the QT5 directory in
the /usr/lib64/etc directory, when actually it needs only to build in
the local .lazarus directory.
I'll investigate further.
Giuliano
--
Do not do to others as you would have them do to you.They might have different
tastes.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus