Compare commits
2 Commits
5a7e309c24
...
experiment
Author | SHA1 | Date | |
---|---|---|---|
![]() |
35ebcd2986 | ||
93879db3dd |
43
src/main.cpp
43
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 <QtCore/QCoreApplication>
|
||||||
|
#include <QtCore/QDebug>
|
||||||
|
#include <QtCore/QObject>
|
||||||
|
#include <QtCore/QTimer>
|
||||||
|
#include <QtCore/QDateTime>
|
||||||
|
|
||||||
|
// Qt GUI
|
||||||
|
#include <QtGui/QGuiApplication>
|
||||||
|
#include <QtGui/QIcon>
|
||||||
|
#include <QtGui/QPixmap>
|
||||||
|
|
||||||
|
// Qt Widgets (falls verwendet)
|
||||||
|
#include <QtWidgets/QApplication>
|
||||||
|
#include <QtWidgets/QMainWindow>
|
||||||
|
#include <QtWidgets/QPushButton>
|
||||||
|
#include <QtWidgets/QLabel>
|
||||||
|
|
||||||
|
// STL
|
||||||
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
|
#include <map>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
#endif // PCH_H
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
using namespace Qt::Literals::StringLiterals;
|
using namespace Qt::Literals::StringLiterals;
|
||||||
|
|
||||||
|
@@ -53,6 +53,7 @@ namespace znode
|
|||||||
|
|
||||||
//! einfache tree-klasse, besonderheit: der nutzlast-string-type ist templated.
|
//! einfache tree-klasse, besonderheit: der nutzlast-string-type ist templated.
|
||||||
template<typename str_t>
|
template<typename str_t>
|
||||||
|
//class zbasic_node : public zid, public zpayload<str_t>, public std::enable_shared_from_this<zbasic_node<str_t>>
|
||||||
class zbasic_node : public zid, public zpayload<str_t>, public std::enable_shared_from_this<zbasic_node<str_t>>
|
class zbasic_node : public zid, public zpayload<str_t>, public std::enable_shared_from_this<zbasic_node<str_t>>
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user