]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Switch off help
authorvsv <vsv@opencascade.com>
Mon, 20 Aug 2018 14:03:44 +0000 (17:03 +0300)
committervsv <vsv@opencascade.com>
Mon, 20 Aug 2018 14:03:44 +0000 (17:03 +0300)
doc/gui/CMakeLists.txt
src/XGUI/XGUI_Workshop.cpp

index f66b3e2c81e5269910390b9d6130711c4d726aab..79e7b2d47e27a052fdb5494b0b5f1fa29846acee 100644 (file)
@@ -26,30 +26,30 @@ CONFIGURE_FILE(${input} ${output})
 
 #sphinx-build -b html -c doc -D latex_paper_size=a4 -d doc/doctree /dn23/PPGP/vsv/SALOME730/SOURCES/PPGP_SRC/doc doc/html
 
-INSTALL(CODE "
-EXECUTE_PROCESS(
-COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/build_index.py ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
-)
-")
-
-
-INSTALL(CODE "
-EXECUTE_PROCESS(
-COMMAND ${SPHINX_EXECUTABLE} -Q -b html -c ${CMAKE_CURRENT_BINARY_DIR} -d doctree ${CMAKE_CURRENT_BINARY_DIR} html
-WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-)"
-)
-
-IF(${HAVE_SALOME})
-    INSTALL(CODE "
-    EXECUTE_PROCESS(
-    COMMAND ${PYTHON_EXECUTABLE} -c \"import shutil;shutil.rmtree('${CMAKE_INSTALL_PREFIX}/share/doc/salome/gui/SHAPER', True);shutil.copytree('${CMAKE_CURRENT_BINARY_DIR}/html', '${CMAKE_INSTALL_PREFIX}/share/doc/salome/gui/SHAPER')\"
-    )
-    ")
-ELSE(${HAVE_SALOME})
-    INSTALL(CODE "
-    EXECUTE_PROCESS(
-    COMMAND ${PYTHON_EXECUTABLE} -c \"import shutil;shutil.rmtree('${CMAKE_INSTALL_PREFIX}/doc/gui', True);shutil.copytree('${CMAKE_CURRENT_BINARY_DIR}/html', '${CMAKE_INSTALL_PREFIX}/doc/gui')\"
-    )
-    ")
-ENDIF(${HAVE_SALOME})
+INSTALL(CODE "
+EXECUTE_PROCESS(
+COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/build_index.py ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
+)
+")
+
+
+INSTALL(CODE "
+EXECUTE_PROCESS(
+COMMAND ${SPHINX_EXECUTABLE} -Q -b html -c ${CMAKE_CURRENT_BINARY_DIR} -d doctree ${CMAKE_CURRENT_BINARY_DIR} html
+WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+)"
+)
+
+IF(${HAVE_SALOME})
+    INSTALL(CODE "
+    EXECUTE_PROCESS(
+    COMMAND ${PYTHON_EXECUTABLE} -c \"import shutil;shutil.rmtree('${CMAKE_INSTALL_PREFIX}/share/doc/salome/gui/SHAPER', True);shutil.copytree('${CMAKE_CURRENT_BINARY_DIR}/html', '${CMAKE_INSTALL_PREFIX}/share/doc/salome/gui/SHAPER')\"
+    )
+    ")
+ELSE(${HAVE_SALOME})
+    INSTALL(CODE "
+    EXECUTE_PROCESS(
+    COMMAND ${PYTHON_EXECUTABLE} -c \"import shutil;shutil.rmtree('${CMAKE_INSTALL_PREFIX}/doc/gui', True);shutil.copytree('${CMAKE_CURRENT_BINARY_DIR}/html', '${CMAKE_INSTALL_PREFIX}/doc/gui')\"
+    )
+    ")
+ENDIF(${HAVE_SALOME})
index fc533769bd878a01d4cf149abc6f01a731db854a..7145cfb61a44281107c161a59ab05a64f41b381e 100755 (executable)
@@ -592,7 +592,6 @@ void XGUI_Workshop::onHelpActionClicked()
 #endif
         QStringList aParams;
         aParams << aDocDir + aSep + aHelpPage;
-        QProcess::startDetached(aBrowserName, aParams);
       }
     }
   }