From: Sergey BELASH Date: Fri, 26 Sep 2014 10:46:48 +0000 (+0400) Subject: bugfix for libPartSet.so: paths to some CAS toolkits defined explicitly X-Git-Tag: V_0.4.4~9^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d15b779774dbd0e7f99b21a39088aa5d027565c3;p=modules%2Fshaper.git bugfix for libPartSet.so: paths to some CAS toolkits defined explicitly --- diff --git a/src/PartSet/CMakeLists.txt b/src/PartSet/CMakeLists.txt index 2fb4d3ec2..70a10d11a 100644 --- a/src/PartSet/CMakeLists.txt +++ b/src/PartSet/CMakeLists.txt @@ -50,6 +50,7 @@ SET(PROJECT_LIBRARIES GeomAPI ${QT_LIBRARIES} ${CAS_KERNEL} + ${CAS_SHAPE} ) SET(PROJECT_AUTOMOC diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 899c23227..686edd7d3 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -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)); }