diff --git a/bindings/SofaGui/src/SofaPython3/SofaGui/Module_SofaGui.cpp b/bindings/SofaGui/src/SofaPython3/SofaGui/Module_SofaGui.cpp index 85f0a9d85..fd465c245 100644 --- a/bindings/SofaGui/src/SofaPython3/SofaGui/Module_SofaGui.cpp +++ b/bindings/SofaGui/src/SofaPython3/SofaGui/Module_SofaGui.cpp @@ -27,9 +27,9 @@ #include using sofa::helper::system::FileSystem; -#if SOFAGUI_HAVE_SOFAGUIQT +#if SOFAGUI_HAVE_SOFA_GUI_QT #include -#endif // SOFAGUI_HAVE_SOFAGUIQT +#endif // SOFAGUI_HAVE_SOFA_GUI_QT #include "Binding_BaseGui.h" #include "Binding_GUIManager.h" @@ -63,7 +63,7 @@ PYBIND11_MODULE(Gui, m) { :members: )doc"; -#if SOFAGUI_HAVE_SOFAGUIQT +#if SOFAGUI_HAVE_SOFA_GUI_QT std::string sofaPrefixAbsolute = sofa::helper::Utils::getSofaPathPrefix(); std::string inputFilepath = FileSystem::cleanPath(sofaPrefixAbsolute + "/bin/qt.conf"); bool success = sofa::gui::qt::loadQtConfWithCustomPrefix(inputFilepath, sofaPrefixAbsolute); @@ -81,7 +81,7 @@ PYBIND11_MODULE(Gui, m) { } std::cout << std::endl; } -#endif // SOFAGUI_HAVE_SOFAGUIQT +#endif // SOFAGUI_HAVE_SOFA_GUI_QT // This is needed to make sure the GuiMain library (libSofaGuiMain.so) is correctly // linked since the GUIs are statically created during the load of the library.