From cbaa47921691301e228237ce3924df86b0b5a93b Mon Sep 17 00:00:00 2001 From: Social_Mean Date: Fri, 15 Mar 2024 22:03:33 +0800 Subject: [PATCH] add qt5.12.12-compatibility I'm not sure if I added this line correctly, but now it doesn't report errors. --- examples/libexampletools/jkqtpexampleapplication.h | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/libexampletools/jkqtpexampleapplication.h b/examples/libexampletools/jkqtpexampleapplication.h index 17da0f6d6d0..058fc3e2442 100644 --- a/examples/libexampletools/jkqtpexampleapplication.h +++ b/examples/libexampletools/jkqtpexampleapplication.h @@ -41,6 +41,7 @@ public Q_SLOTS: std::function f; std::function plotf; JKQTPlotter* p; + inline Data() {}; inline Data(const std::function& f_): type(FunctorType), f(f_), plotf(), p(nullptr) {}