SET(SHAPER_INSTALL_GUI_DOC share/doc/salome/gui/SHAPER CACHE INTERNAL "" FORCE)
SET(SHAPER_INSTALL_TUI_DOC share/doc/salome/tui/SHAPER CACHE INTERNAL "" FORCE)
# without SALOME there is another kind of documentation, separated one
- #ADD_SUBDIRECTORY (doc)
ELSE(${HAVE_SALOME})
SET(SHAPER_INSTALL_ADDONS addons CACHE INTERNAL "" FORCE)
SET(SHAPER_INSTALL_BIN bin CACHE INTERNAL "" FORCE)
esac
done
+## Preserve PTHONPATH in order to avoid problems with Sphinx on Fedora26 because of Pigments in ParaView
+export PYTHONPATH_OLD=$PYTHONPATH
source env.sh
+export PYTHONPATH=$PYTHONPATH_OLD
CMAKE_ARGS=""
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}"
QString aDocDir;
const QChar aSep = QDir::separator();
#ifdef HAVE_SALOME
- QString aBrowserName("HelpBrowser");
QString aDir(getenv("SHAPER_ROOT_DIR"));
if (!aDir.isEmpty()) {
aDocDir = aDir + aSep + "share" + aSep + "doc" + aSep +
"salome" + aSep + "gui" + aSep + "SHAPER";
}
SUIT_ResourceMgr* aResMgr = ModuleBase_Preferences::resourceMgr();
- bool aUseExtBrowser = aResMgr->booleanValue("ExternalBrowser", "use_external_browser", false);
- if (aUseExtBrowser) {
- QString platform;
+ QString platform;
#ifdef WIN32
- platform = "winapplication";
+ platform = "winapplication";
#else
- platform = "application";
+ platform = "application";
#endif
- aBrowserName = aResMgr->stringValue("ExternalBrowser", platform);
- }
+ QString aBrowserName = aResMgr->stringValue("ExternalBrowser", platform);
#else
QString aBrowserName("C:\\Program Files\\Internet Explorer\\iexplore.exe");
QString aDir(getenv("OPENPARTS_ROOT_DIR"));