Add a warning for patching lovers

This commit is contained in:
Ilya Fedin 2023-09-22 01:09:01 +04:00 committed by John Preston
parent b361d6151c
commit d3ac9dcf97

View file

@ -15,6 +15,9 @@
#include <QtGui/QColorSpace> #include <QtGui/QColorSpace>
#include <private/qwidget_p.h> #include <private/qwidget_p.h>
// 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 { class TWidgetPrivate : public QWidgetPrivate {
public: public:
#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0) #if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)