From 93879db3dd3aa0098ec8f501b749cedd82188b6e Mon Sep 17 00:00:00 2001 From: "PANIK\\chris" Date: Tue, 23 Sep 2025 22:24:56 +0200 Subject: [PATCH 1/2] very first step... --- src/nodes/znode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nodes/znode.h b/src/nodes/znode.h index bbc5226..6ada81a 100644 --- a/src/nodes/znode.h +++ b/src/nodes/znode.h @@ -53,6 +53,7 @@ namespace znode //! einfache tree-klasse, besonderheit: der nutzlast-string-type ist templated. template + //class zbasic_node : public zid, public zpayload, public std::enable_shared_from_this> class zbasic_node : public zid, public zpayload, public std::enable_shared_from_this> { From 35ebcd2986fa248ed895a71547ffd31401b6f9a7 Mon Sep 17 00:00:00 2001 From: Christoph Holzheuer Date: Wed, 24 Sep 2025 17:29:10 +0200 Subject: [PATCH 2/2] tried PCH --- src/main.cpp | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index e5dd01e..4dbcf42 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -74,6 +74,49 @@ XQChildModel* createChildModel() } +/* + + +CONFIG += precompile_header +PRECOMPILED_HEADER = pch.h + +// pch.h – Precompiled Header für Qt-Projekt + +Stelle sicher, dass pch.h im Projektordner liegt und in den .cpp-Dateien eingebunden wird: + +C++ +#include "pch.h" + +#ifndef PCH_H +#define PCH_H + +// Qt Core +#include +#include +#include +#include +#include + +// Qt GUI +#include +#include +#include + +// Qt Widgets (falls verwendet) +#include +#include +#include +#include + +// STL +#include +#include +#include +#include + +#endif // PCH_H + +*/ using namespace Qt::Literals::StringLiterals;