[Iamge] Gui: enable precompiled header
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
// QtCore
|
||||
#include <qglobal.h>
|
||||
#include <QBuffer>
|
||||
#include <QDebug>
|
||||
#include <QDirIterator>
|
||||
#include <QElapsedTimer>
|
||||
#include <qeventloop.h>
|
||||
@@ -109,8 +110,12 @@
|
||||
#include <QMessageLogContext>
|
||||
#include <QMimeData>
|
||||
#include <qmovie.h>
|
||||
#include <QOpenGLContext>
|
||||
#include <QOpenGLDebugMessage>
|
||||
#include <QOpenGLFunctions>
|
||||
#include <QOpenGLTexture>
|
||||
#include <qpainter.h>
|
||||
#include <QPainter>
|
||||
#include <QPainterPath>
|
||||
#include <qpalette.h>
|
||||
#include <qpixmap.h>
|
||||
#include <QPdfWriter>
|
||||
@@ -141,6 +146,7 @@
|
||||
#include <qstylefactory.h>
|
||||
#include <QStyleOptionButton>
|
||||
#include <QStylePainter>
|
||||
#include <QSurfaceFormat>
|
||||
#include <QSyntaxHighlighter>
|
||||
#include <qtabbar.h>
|
||||
#include <QTableView>
|
||||
@@ -149,6 +155,7 @@
|
||||
#include <QTextDocument>
|
||||
#include <QTextDocumentFragment>
|
||||
#include <QTextEdit>
|
||||
#include <QTextTableCell>
|
||||
#include <QToolBar>
|
||||
#include <qtoolbox.h>
|
||||
#include <qtoolbutton.h>
|
||||
|
||||
@@ -59,6 +59,12 @@ SET(ImageGui_SRCS
|
||||
XpmImages.h
|
||||
)
|
||||
|
||||
if(FREECAD_USE_PCH)
|
||||
add_definitions(-D_PreComp_)
|
||||
GET_MSVC_PRECOMPILED_SOURCE("PreCompiled.cpp" PCH_SRCS ${ImageGui_SRCS})
|
||||
ADD_MSVC_PRECOMPILED_HEADER(ImageGui PreCompiled.h PreCompiled.cpp PCH_SRCS)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
SET(ImageGuiIcon_SVG
|
||||
Resources/icons/ImageWorkbench.svg
|
||||
)
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <cmath>
|
||||
|
||||
# include <QAction>
|
||||
# include <QApplication>
|
||||
# include <QMenu>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <cmath>
|
||||
|
||||
# include <QDebug>
|
||||
# include <QMessageBox>
|
||||
# include <QOpenGLContext>
|
||||
|
||||
@@ -20,5 +20,4 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
@@ -35,34 +35,17 @@
|
||||
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <cassert>
|
||||
// STL
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
#include <bitset>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <queue>
|
||||
#include <set>
|
||||
#include <stack>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#ifdef FC_OS_WIN32
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
// Inventor
|
||||
# include <Inventor/nodes/SoCoordinate3.h>
|
||||
# include <Inventor/nodes/SoFaceSet.h>
|
||||
# include <Inventor/nodes/SoMaterial.h>
|
||||
# include <Inventor/nodes/SoSeparator.h>
|
||||
# include <Inventor/nodes/SoTexture2.h>
|
||||
# include <Inventor/nodes/SoTextureCoordinate2.h>
|
||||
#include <Inventor/nodes/SoCoordinate3.h>
|
||||
#include <Inventor/nodes/SoFaceSet.h>
|
||||
#include <Inventor/nodes/SoMaterial.h>
|
||||
#include <Inventor/nodes/SoSeparator.h>
|
||||
#include <Inventor/nodes/SoTexture2.h>
|
||||
#include <Inventor/nodes/SoTextureCoordinate2.h>
|
||||
|
||||
// Qt Toolkit
|
||||
#ifndef __QtAll__
|
||||
|
||||
@@ -21,18 +21,18 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <sstream>
|
||||
# include <QFileInfo>
|
||||
# include <QImage>
|
||||
# include <QString>
|
||||
|
||||
# include <Inventor/nodes/SoCoordinate3.h>
|
||||
# include <Inventor/nodes/SoFaceSet.h>
|
||||
# include <Inventor/nodes/SoMaterial.h>
|
||||
# include <Inventor/nodes/SoSeparator.h>
|
||||
# include <Inventor/nodes/SoTexture2.h>
|
||||
# include <Inventor/nodes/SoTextureCoordinate2.h>
|
||||
# include <QFileInfo>
|
||||
# include <QImage>
|
||||
# include <QString>
|
||||
#endif
|
||||
|
||||
#include <App/Document.h>
|
||||
|
||||
Reference in New Issue
Block a user