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; 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> {