Fix compilation problem with -DSALOME_BUILD_GUI=OFF mode.

This commit is contained in:
inv 2013-10-31 07:58:25 +00:00
parent d0f9dcaf72
commit ca3114ad35
5 changed files with 6 additions and 7 deletions

View File

@ -24,7 +24,7 @@ SET(SUBDIRS_COMMON
ARCHIMEDE BlockFix GEOMAlgo SKETCHER GEOM BREPExport
BREPImport IGESExport IGESImport STEPExport STEPImport STLExport
ShHealOper GEOMUtils XAO XAO_Swig GEOMImpl GEOM_I GEOMClient GEOM_I_Superv GEOM_SWIG GEOM_PY
AdvancedEngine OCC2VTK VTKExport
AdvancedEngine OCC2VTK VTKExport CurveCreator
)
##
@ -45,7 +45,7 @@ IF(SALOME_BUILD_GUI)
GEOMBase GEOMToolsGUI DisplayGUI BasicGUI PrimitiveGUI GenerationGUI
EntityGUI BuildGUI BooleanGUI TransformationGUI OperationGUI
RepairGUI MeasureGUI GroupGUI BlocksGUI AdvancedGUI ImportExportGUI
CurveCreator GEOM_SWIG_WITHIHM
GEOM_SWIG_WITHIHM
)
ENDIF()

View File

@ -17,7 +17,9 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
INCLUDE(${QT_USE_FILE})
IF(SALOME_BUILD_GUI)
INCLUDE(${QT_USE_FILE})
ENDIF(SALOME_BUILD_GUI)
# --- options ---

View File

@ -28,8 +28,6 @@
#include "CurveCreator_Macro.hxx"
#include "CurveCreator_Operation.hxx"
#include <QString>
class CurveCreator_Section;
class CurveCreator_Listener;

View File

@ -27,8 +27,6 @@
#include "CurveCreator_Macro.hxx"
#include "CurveCreator_Operation.hxx"
#include <QString>
class CurveCreator_Section;
class CurveCreator_Listener;

View File

@ -25,6 +25,7 @@
#include <string>
#include <stdlib.h>
#include <string.h>
//=======================================================================
// function: Constructor