From d15b779774dbd0e7f99b21a39088aa5d027565c3 Mon Sep 17 00:00:00 2001 From: Sergey BELASH Date: Fri, 26 Sep 2014 14:46:48 +0400 Subject: [PATCH] bugfix for libPartSet.so: paths to some CAS toolkits defined explicitly --- src/PartSet/CMakeLists.txt | 1 + src/XGUI/XGUI_Workshop.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)); } -- 2.39.2