From d3ac9dcf97494aa1acfbfd8b6c0a3f57950e4962 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Fri, 22 Sep 2023 01:09:01 +0400 Subject: [PATCH] Add a warning for patching lovers --- ui/rp_widget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/rp_widget.cpp b/ui/rp_widget.cpp index 3301c9f..a911a66 100644 --- a/ui/rp_widget.cpp +++ b/ui/rp_widget.cpp @@ -15,6 +15,9 @@ #include #include +// Patching out this code without patching out all other private API usage +// and the Qt::{Core,Gui,Widgets}Private cmake dependency is asking +// for memory corruption class TWidgetPrivate : public QWidgetPrivate { public: #if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)