]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
bugfix for libPartSet.so: paths to some CAS toolkits defined explicitly
authorSergey BELASH <belash.sergey@opencascade.com>
Fri, 26 Sep 2014 10:46:48 +0000 (14:46 +0400)
committerSergey BELASH <belash.sergey@opencascade.com>
Fri, 26 Sep 2014 10:46:48 +0000 (14:46 +0400)
src/PartSet/CMakeLists.txt
src/XGUI/XGUI_Workshop.cpp

index 2fb4d3ec207e743bd355fb1d56b5020df6ea1700..70a10d11a581b38dc4598a4724475ae67edb1e79 100644 (file)
@@ -50,6 +50,7 @@ SET(PROJECT_LIBRARIES
     GeomAPI
     ${QT_LIBRARIES}
     ${CAS_KERNEL}
+    ${CAS_SHAPE}
 )
 
 SET(PROJECT_AUTOMOC 
index 899c2322766f83d562da8bb799aa65db6fc8f6eb..686edd7d3e5361f71735d1d5296e87c14648bb52 100644 (file)
@@ -879,7 +879,7 @@ ModuleBase_IModule* XGUI_Workshop::loadModule(const QString& theModule)
 
   if (!err.isEmpty()) {
     if (mainWindow()) {
-      QMessageBox::warning(mainWindow(), tr("Error"), err);
+      Events_Error::send(err.toStdString());
     } else {
       qWarning(qPrintable(err));
     }