macOS build: GEOMGUI plugin discovery + diagnostic#26
Open
basile-simvia wants to merge 1 commit into
Open
Conversation
src/GEOMGUI/GeometryGUI.cxx: - On __APPLE__, read LD_LIBRARY_PATH instead of DYLD_LIBRARY_PATH when searching for plugin libraries. On macOS, DYLD_* variables are stripped from the environment by SIP and by Qt's launching, so the GUI cannot see them; the workspace exports LD_LIBRARY_PATH as a fallback for plugin discovery. - In OnGUIEvent(), when a plugin library fails to load, show the attempted library name (libName) in the error dialog instead of the static 'GEOM_ERR_LIB_NOT_FOUND' label, so the user can see which plugin is missing. - Minor whitespace clean-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@mohd-afeef-badri @nitawa as discussed during our video call last week, here are the changes related to the Salome 9.14 version on macOS.
src/GEOMGUI/GeometryGUI.cxx: