Feature request #4704

set OSG plugins dir at compilation

Added by William Kyngesburye about 12 years ago. Updated almost 12 years ago.

Assignee:Pirmin Kalberer
Category:C++ plugins/Globe
Pull Request or Patch supplied:Yes Resolution:fixed
Easy fix?:No Copied to github as #:14588


When packaging QGIS on OS X, for the globe plugin the OSG frameworks and plugins are bundled in the QGIS app. The globe plugin then needs to know where to find the OSG plugins. The attached patch seems to work, though I haven't done much testing. There may also be a better way to configure it (ie with cmake). Set QGIS_OSGPLUGIN_SUBDIR in the shell environment before running make. This var works like all the other QGIS_*_SUBDIR vars in the main cmakelists.txt.

globe_plugin.cpp.patch Magnifier (802 Bytes) William Kyngesburye, 2011-12-27 06:51 AM


#1 Updated by Giovanni Manghi about 12 years ago

  • Pull Request or Patch supplied changed from No to Yes

#2 Updated by Giovanni Manghi almost 12 years ago

  • Target version set to Version 2.0.0

#3 Updated by William Kyngesburye almost 12 years ago

  • Resolution set to fixed
  • Target version changed from Version 2.0.0 to Version 1.8.0

I forgot I had this request here. I applied this as a part of my OSG bundling update: 4ecd56886c (master) and commit:e3f33b3808 (release-1_8). As a small variation to my original patch, it only applies to OS X.

#4 Updated by Paolo Cavallini almost 12 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF