1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-26 15:39:51 +00:00

Merge pull request #2052 from mp3butcher/master

fix moc achieving to reach unparsable boost code
This commit is contained in:
Bret Curtis 2018-12-02 19:28:35 +01:00 committed by GitHub
commit c2c86fc4a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 21 additions and 3 deletions

View File

@ -6,7 +6,7 @@
#ifndef Q_MOC_RUN #ifndef Q_MOC_RUN
#include <components/files/configurationmanager.hpp> #include <components/files/configurationmanager.hpp>
#endif
#include <components/process/processinvoker.hpp> #include <components/process/processinvoker.hpp>
@ -14,7 +14,7 @@
#include <components/config/launchersettings.hpp> #include <components/config/launchersettings.hpp>
#include <components/settings/settings.hpp> #include <components/settings/settings.hpp>
#endif
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
class QListWidgetItem; class QListWidgetItem;

View File

@ -4,6 +4,8 @@
#include <QDialog> #include <QDialog>
#include <QModelIndex> #include <QModelIndex>
#ifndef Q_MOC_RUN
#include <boost/filesystem/path.hpp> #include <boost/filesystem/path.hpp>
#include "adjusterwidget.hpp" #include "adjusterwidget.hpp"
@ -12,6 +14,8 @@
Q_DECLARE_METATYPE (boost::filesystem::path) Q_DECLARE_METATYPE (boost::filesystem::path)
#endif #endif
#endif
#include "ui_filedialog.h" #include "ui_filedialog.h"
namespace ContentSelectorView namespace ContentSelectorView

View File

@ -8,6 +8,7 @@
#include <QWidget> #include <QWidget>
#include <QEvent> #include <QEvent>
#ifndef Q_MOC_RUN
#include "../../model/world/data.hpp" #include "../../model/world/data.hpp"
#include "../../model/world/land.hpp" #include "../../model/world/land.hpp"
@ -15,6 +16,7 @@
#include "../../model/world/commands.hpp" #include "../../model/world/commands.hpp"
#include "../../model/world/idtable.hpp" #include "../../model/world/idtable.hpp"
#include "../../model/world/landtexture.hpp" #include "../../model/world/landtexture.hpp"
#endif
namespace CSVWidget namespace CSVWidget
{ {

View File

@ -3,7 +3,9 @@
#include <QWidget> #include <QWidget>
#ifndef Q_MOC_RUN
#include <boost/filesystem/path.hpp> #include <boost/filesystem/path.hpp>
#endif
class QPushButton; class QPushButton;
class QListWidget; class QListWidget;

View File

@ -14,9 +14,11 @@
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QPushButton> #include <QPushButton>
#ifndef Q_MOC_RUN
#include "scenetool.hpp" #include "scenetool.hpp"
#include "../../model/doc/document.hpp" #include "../../model/doc/document.hpp"
#endif
class QTableWidget; class QTableWidget;

View File

@ -5,10 +5,12 @@
#include <QWidget> #include <QWidget>
#ifndef Q_MOC_RUN
#include "../../model/doc/document.hpp" #include "../../model/doc/document.hpp"
#include "../../model/world/scope.hpp" #include "../../model/world/scope.hpp"
#include "../../model/world/universalid.hpp" #include "../../model/world/universalid.hpp"
#endif
namespace CSMDoc namespace CSMDoc
{ {

View File

@ -8,11 +8,13 @@
#include <QAbstractItemDelegate> #include <QAbstractItemDelegate>
#include <QScrollArea> #include <QScrollArea>
#ifndef Q_MOC_RUN
#include "../doc/subview.hpp" #include "../doc/subview.hpp"
#include "../../model/world/columnbase.hpp" #include "../../model/world/columnbase.hpp"
#include "../../model/world/commanddispatcher.hpp" #include "../../model/world/commanddispatcher.hpp"
#include "../../model/world/universalid.hpp" #include "../../model/world/universalid.hpp"
#endif
class QDataWidgetMapper; class QDataWidgetMapper;
class QSize; class QSize;

View File

@ -6,8 +6,11 @@
#include <QAbstractTableModel> #include <QAbstractTableModel>
#include <QStyledItemDelegate> #include <QStyledItemDelegate>
#ifndef Q_MOC_RUN
#include "../../model/world/columnbase.hpp" #include "../../model/world/columnbase.hpp"
#include "../../model/doc/document.hpp" #include "../../model/doc/document.hpp"
#endif
class QUndoStack; class QUndoStack;

View File

@ -9,9 +9,10 @@
#ifndef Q_MOC_RUN #ifndef Q_MOC_RUN
#include <components/files/configurationmanager.hpp> #include <components/files/configurationmanager.hpp>
#endif
#include <components/config/gamesettings.hpp> #include <components/config/gamesettings.hpp>
#include <components/config/launchersettings.hpp> #include <components/config/launchersettings.hpp>
#endif
namespace Wizard namespace Wizard
{ {