Porting to Qt4.

This commit is contained in:
mkr 2007-06-28 08:24:57 +00:00
parent 9384e0b64d
commit dd3484f8a7
4 changed files with 40 additions and 8 deletions

View File

@ -0,0 +1,37 @@
TEMPLATE = lib
TARGET = GEOMArchimede
DESTDIR = ../../lib
MOC_DIR = ../../moc
OBJECTS_DIR = ../../obj/$$TARGET
CASROOT = $$(CASROOT)
CAS_CPPFLAGS = $${CASROOT}/inc
KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel
CAS_MODELER = -L$${CASROOT}/Linux/lib -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat
STDLIB = -lstdc++
INCLUDEPATH += $${CAS_CPPFLAGS} $${KERNEL_CXXFLAGS}
LIBS += $${KERNEL_LDFLAGS} -lSALOMELocalTrace $${CAS_KERNEL} $${CAS_MODELER} -lTKMesh $${STDLIB}
CONFIG -= debug release debug_and_release
CONFIG += qt thread debug dll shared
win32:DEFINES += WIN32
DEFINES += OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS
HEADERS = Archimede_VolumeSection.hxx
SOURCES = Archimede_VolumeSection.cxx
includes.files = $$HEADERS
includes.path = ../../include
INSTALLS += includes

View File

@ -26,8 +26,6 @@
// Module : GEOM
// $Header$
#include <Standard_OStream.hxx>
#include "Archimede_VolumeSection.hxx"
#include "utilities.h"
@ -41,14 +39,10 @@
#include <TopoDS_Face.hxx>
#include <TopoDS_Shape.hxx>
#include <math_Matrix.hxx>
#include <math.h>
#include <GC_MakePlane.hxx>
#include <stdlib.h>
#include <gp_Trsf.hxx>
#include <gp_Dir.hxx>
#include <gp_Ax1.hxx>
#include <gp_Pnt.hxx>
#include <gp_Pln.hxx>
#include <GeomAPI_ProjectPointOnSurf.hxx>
#include <Geom_RectangularTrimmedSurface.hxx>

View File

@ -33,7 +33,8 @@
#include <gp_Dir.hxx>
#include <TopoDS_Shape.hxx>
#include <Geom_Plane.hxx>
#include <Geom_RectangularTrimmedSurface.hxx>
class Handle(Geom_RectangularTrimmedSurface);
class VolumeSection{

View File

@ -2,7 +2,7 @@ TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = OBJECT
#SUBDIRS += ARCHIMEDE
SUBDIRS += ARCHIMEDE
#SUBDIRS += NMTDS
#SUBDIRS += NMTTools
#SUBDIRS += NMTAlgo