Skip to content

Commit

Permalink
[GUI] Remove Qt and make SofaImGUI as default viewer (sofa-framework#…
Browse files Browse the repository at this point in the history
…5176)

* Add possibility to fetch and add by default for external plugins and set SofaGLFW as ON by default

* Remove Qt-based GUI from sources

* Add way to pull and build Sofa.Qt plugin

* Fix compilation

* Change order so SofaGLFW and SofaIMGUI are already in the target stack when runSofa produce the plugin_list.cong.default

* Merge master

* Make the packaging possible without Qt

* Remove GuiDataRepository that was Qt specific -> will need to include it to the Qt gui plugin

* Add fetchable Qt
  • Loading branch information
bakpaul authored Feb 12, 2025
1 parent d2f194d commit b4e8b98
Show file tree
Hide file tree
Showing 175 changed files with 117 additions and 32,333 deletions.
2 changes: 1 addition & 1 deletion Sofa/GUI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else()
list(APPEND SOFAGUI_MISSINGTARGETS ${PROJECT_NAME}.Common)
endif()

set(SOFAGUI_DIRS Batch Qt)
set(SOFAGUI_DIRS Batch)
foreach(dir ${SOFAGUI_DIRS})
sofa_add_subdirectory(plugin ${dir} ${PROJECT_NAME}.${dir} ON)
if(TARGET ${PROJECT_NAME}.${dir})
Expand Down
2 changes: 0 additions & 2 deletions Sofa/GUI/Common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ set(HEADER_FILES
${SOFAGUICOMMON_ROOT}/BaseViewer.h
${SOFAGUICOMMON_ROOT}/ColourPickingVisitor.h
${SOFAGUICOMMON_ROOT}/FilesRecentlyOpenedManager.h
${SOFAGUICOMMON_ROOT}/GuiDataRepository.h
${SOFAGUICOMMON_ROOT}/GUIManager.h
${SOFAGUICOMMON_ROOT}/MouseOperations.h
${SOFAGUICOMMON_ROOT}/OperationFactory.h
Expand All @@ -50,7 +49,6 @@ set(SOURCE_FILES
${SOFAGUICOMMON_ROOT}/BaseViewer.cpp
${SOFAGUICOMMON_ROOT}/ColourPickingVisitor.cpp
${SOFAGUICOMMON_ROOT}/FilesRecentlyOpenedManager.cpp
${SOFAGUICOMMON_ROOT}/GuiDataRepository.cpp
${SOFAGUICOMMON_ROOT}/GUIManager.cpp
${SOFAGUICOMMON_ROOT}/MouseOperations.cpp
${SOFAGUICOMMON_ROOT}/PickHandler.cpp
Expand Down
41 changes: 0 additions & 41 deletions Sofa/GUI/Common/src/sofa/gui/common/GuiDataRepository.cpp

This file was deleted.

29 changes: 0 additions & 29 deletions Sofa/GUI/Common/src/sofa/gui/common/GuiDataRepository.h

This file was deleted.

Loading

0 comments on commit b4e8b98

Please sign in to comment.