[QGIS Commit] r11400 - trunk/code_examples/2_basic_main_window

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Aug 16 17:17:59 EDT 2009


Author: timlinux
Date: 2009-08-16 17:17:59 -0400 (Sun, 16 Aug 2009)
New Revision: 11400

Modified:
   trunk/code_examples/2_basic_main_window/mainwindow.cpp
Log:
Added more explicit comment to reader to adjust the plugin dir path

Modified: trunk/code_examples/2_basic_main_window/mainwindow.cpp
===================================================================
--- trunk/code_examples/2_basic_main_window/mainwindow.cpp	2009-08-16 21:14:16 UTC (rev 11399)
+++ trunk/code_examples/2_basic_main_window/mainwindow.cpp	2009-08-16 21:17:59 UTC (rev 11400)
@@ -50,9 +50,15 @@
 
   // Instantiate Provider Registry
 #if defined(Q_WS_MAC)
+  //
+  // Be sure to set this to an appropriate place if you are on OSX
+  //
   QString myPluginsDir        = "/Users/timsutton/apps/qgis.app/Contents/MacOS/lib/qgis";
 #else
-  QString myPluginsDir        = "/home/timlinux/apps/lib/qgis";
+  //
+  // Be sure to set this to an appropriate place if you are on Linux or windows
+  //
+  QString myPluginsDir        = "/home/timlinux/apps/qgis_trunk/lib/qgis";
 #endif
   QgsProviderRegistry::instance(myPluginsDir);
 



More information about the QGIS-commit mailing list