Hi Laurent
Awesome! A graphical representation of the schemas will be very helpful!
I tried it with both AP214e3 and AP210e3 draft.
If anyone else wishes to try on linux, there is a quick-and-dirty patch below.
Laurent, don't bother trying to merge this patch - I'll have something better in a few days.
Regards
Mark
This is for AP210E3; a directory and lib name need to be changed for AP214.
diff --git a/SCLView.pro b/SCLView.pro
index 9ba1829..95a4851 100644
--- a/SCLView.pro
+++ b/SCLView.pro
@@ -9,20 +9,17 @@ QT += core gui opengl
TARGET = SCLView
TEMPLATE = app
-win32:LIBS += C:/prog/STEP/SCL0-5/ap214e3/bin/libsdai_AP214E3_2010.dll \
- C:/prog/STEP/SCL0-5/ap214e3/bin/libstepcore.dll \
- C:/prog/STEP/SCL0-5/ap214e3/bin/libstepdai.dll \
- C:/prog/STEP/SCL0-5/ap214e3/bin/libsteputils.dll \
- C:/prog/STEP/SCL0-5/ap214e3/bin/libexpress.dll \
- C:/prog/STEP/SCL0-5/ap214e3/bin/libstepeditor.dll
+LIBS += -L/opt/step/scl/build/lib -lsdai_210e3_wip_v1_41_mim_lf -lstepcore -lstepdai -lsteputils -lexpress -lstepeditor -lbase
+
+INCLUDEPATH += /opt/step/scl/build/210e3_wip_v1_41_mim_lf \
+ /opt/step/scl/build/include \
+ /opt/step/scl/include \
+ /opt/step/scl/src/cleditor \
+ /opt/step/scl/src/clutils \
+ /opt/step/scl/src/clstepcore \
+ /opt/step/scl/src/cldai \
+ /opt/step/scl/src/base
-INCLUDEPATH += C:/prog/STEP/SCL0-5/ap214e3/AP214E3_2010 \
- C:/prog/STEP/SCL0-5/ap214e3/include \
- C:/prog/STEP/SCL0-5/include \
- C:/prog/STEP/SCL0-5/src/cleditor \
- C:/prog/STEP/SCL0-5/src/clutils \
- C:/prog/STEP/SCL0-5/src/clstepcore \
- C:/prog/STEP/SCL0-5/src/cldai
SOURCES += main.cpp\
@@ -61,7 +58,6 @@ RESOURCES += \
sclview.qrc
win32:CONFIG *= dll
-win32 {
+
# Location libraries
- LIB_DIR = C:/prog/STEP/SCL0-5/ap214e3/bin
-}
+ LIB_DIR = /opt/step/scl/build/lib
diff --git a/SchemaModel.h b/SchemaModel.h
index d12fceb..a13f8bc 100644
--- a/SchemaModel.h
+++ b/SchemaModel.h
@@ -25,7 +25,7 @@ extern void SchemaInit( class Registry & );
#include <STEPfile.h>
#include <sdai.h>
#include <STEPattribute.h>
-#include <SdaiAUTOMOTIVE_DESIGN.h>
+#include <schema.h>
class SchemaModel
diff --git a/EntityTypeList.h b/EntityTypeList.h
index f2c00c2..162f8f4 100644
--- a/EntityTypeList.h
+++ b/EntityTypeList.h
@@ -26,7 +26,7 @@
extern void SchemaInit( class Registry & );
#include <sdai.h>
#include <STEPattribute.h>
-#include <SdaiAUTOMOTIVE_DESIGN.h>
+#include <schema.h>
class EntityTypeList : public QListWidget