tried PCH

This commit is contained in:
Christoph Holzheuer
2025-09-24 17:29:10 +02:00
parent 93879db3dd
commit 35ebcd2986

View File

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