Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update qgis/qt/osg plugin Mac-bundled search paths
- Ensure Qt plugins path is set before Qt references a plugin, e.g. before splash screen - Strip old Mac-native 'find bundle path' code for simple 'if it is there, use it' code based off of QCoreApplication::applicationDirPath()
- Loading branch information
Showing
2 changed files
with
33 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
@jef-n While fixing this issue, I moved the whole
QCoreApplication::addLibraryPath
block (including bit for Windows) to before the splash screen setup. Is this cool for Windows builds?It seems that the splash setup causes the Qt plugins to be loaded. So, to me, it makes sense that regardless of platform, QApplication should have any custom Qt plugins path added before then. Certainly fixes a longstanding issue we had on Mac that I could not quite figure out before.