Circumvent QT MOC bugs by including the filesystem header in a specific order.

crashfix_debugdraw
Project579 3 years ago
parent cf0af87c80
commit 5446571aec

@ -2,7 +2,6 @@
#define CSM_DOC_DOCUMENT_H
#include <string>
#include <filesystem>
#include <QUndoStack>
#include <QObject>

@ -3,7 +3,6 @@
#include <vector>
#include <string>
#include <filesystem>
#include <QObject>
#include <QThread>

@ -3,7 +3,6 @@
#include <vector>
#include <string>
#include <filesystem>
#include <QObject>
#include <QProcess>
@ -11,6 +10,8 @@
#include <components/esm3/debugprofile.hpp>
#include <filesystem>
class QTemporaryFile;
namespace CSMDoc

@ -1,8 +1,6 @@
#ifndef CSM_DOC_SAVING_H
#define CSM_DOC_SAVING_H
#include <filesystem>
#include <components/to_utf8/to_utf8.hpp>
#include "operation.hpp"

@ -3,7 +3,6 @@
#include <memory>
#include <map>
#include <filesystem>
#include <components/to_utf8/to_utf8.hpp>

@ -3,7 +3,6 @@
#include <map>
#include <vector>
#include <filesystem>
#include <QObject>
#include <QModelIndex>

@ -1,10 +1,11 @@
#ifndef CSV_DOC_ADJUSTERWIDGET_H
#define CSV_DOC_ADJUSTERWIDGET_H
#include <filesystem>
#include <QWidget>
#include <filesystem>
class QLabel;
namespace CSVDoc

@ -6,7 +6,6 @@
#ifndef Q_MOC_RUN
#include <filesystem>
#include "adjusterwidget.hpp"
#ifndef CS_QT_BOOST_FILESYSTEM_PATH_DECLARED

@ -1,11 +1,11 @@
#ifndef CSV_DOC_NEWGAME_H
#define CSV_DOC_NEWGAME_H
#include <filesystem>
#include <QDialog>
#include <QMetaType>
#include <filesystem>
#ifndef CS_QT_BOOST_FILESYSTEM_PATH_DECLARED
#define CS_QT_BOOST_FILESYSTEM_PATH_DECLARED
Q_DECLARE_METATYPE (std::filesystem::path)

@ -1,14 +1,14 @@
#ifndef GAMESETTINGS_HPP
#define GAMESETTINGS_HPP
#include <filesystem>
#include <QTextStream>
#include <QStringList>
#include <QString>
#include <QFile>
#include <QMultiMap>
#include <filesystem>
namespace Files
{
typedef std::vector<std::filesystem::path> PathContainer;

Loading…
Cancel
Save