summaryrefslogtreecommitdiff
path: root/editors/lazarus/files
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lazarus/files')
-rw-r--r--editors/lazarus/files/patch-lcl_interfaces_qt6_qtwidgets.pas25
-rw-r--r--editors/lazarus/files/pkg-message.in11
2 files changed, 29 insertions, 7 deletions
diff --git a/editors/lazarus/files/patch-lcl_interfaces_qt6_qtwidgets.pas b/editors/lazarus/files/patch-lcl_interfaces_qt6_qtwidgets.pas
new file mode 100644
index 000000000000..2e84562874d1
--- /dev/null
+++ b/editors/lazarus/files/patch-lcl_interfaces_qt6_qtwidgets.pas
@@ -0,0 +1,25 @@
+--- lcl/interfaces/qt6/qtwidgets.pas.orig 2025-05-03 06:08:10 UTC
++++ lcl/interfaces/qt6/qtwidgets.pas
+@@ -16497,10 +16497,6 @@ begin
+ FActions.Free;
+ end;
+
+- if Assigned(FActionHandle) then
+- QAction_Destroy(FActionHandle);
+- FActionHandle := nil;
+-
+ inherited Destroy;
+ end;
+
+@@ -16554,6 +16550,11 @@ begin
+ QMenu_hook_destroy(FAboutToHideHook);
+ FAboutToHideHook := nil;
+ end;
++
++ if Assigned(FActionHandle) then
++ QAction_Destroy(FActionHandle);
++ FActionHandle := nil;
++
+ inherited DetachEvents;
+ end;
+
diff --git a/editors/lazarus/files/pkg-message.in b/editors/lazarus/files/pkg-message.in
index 9fe32565884c..c9b15d113647 100644
--- a/editors/lazarus/files/pkg-message.in
+++ b/editors/lazarus/files/pkg-message.in
@@ -24,24 +24,21 @@ The Lazarus RAD was installed
by default:
editors/lazarus
- editors/lazarus-devel
editors/lazarus-qt5
- editors/lazarus-qt5-devel
editors/lazarus-qt6
- editors/lazarus-qt6-devel
- You can added those ports if you want support for gtk2, qt5 or qt6
- interfaces. Please look at net-p2p/transmission-remote-gui like a example of
- how use it
+ You can added those ports if you want support for gtk2, qt5 or qt6 interfaces.
+ Please look at sysutils/bhyvemgr like a example of how use it.
6) If you want built apps using devel version of lazarus, you must add the
following into /etc/make.conf file
WANT_LAZARUS_DEVEL= yes
- It is neccesary for use devel version of lazarus (gtk2, qt5 or qt6)
+ It is neccesary for use devel version of lazarus (gtk2, gtk3, qt5 or qt6)
editors/lazarus-devel
+ editors/lazarus-gtk3-devel
editors/lazarus-qt5-devel
editors/lazarus-qt6-devel