<div dir="ltr">Hi William,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 3:06 PM, William Kyngesburye <span dir="ltr"><<a href="mailto:woklist@kyngchaos.com" target="_blank">woklist@kyngchaos.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I noticed that there are non-QGIS Qsci API files in the QGIS source.  Shouldn't these be copied at build time from the installed Qscintilla API files?  Especially PyQt and Qscintilla itself.  QGIS has PyQt 4.7.4, Qscintilla 2.4.5 and GDAL 1.9.1 API files, yet I have PyQt 4.10, Qscintilla 2.7.1 and GDAL 1.10 beta2 (though no API file for GDAL) installed.<br>
</blockquote><div><br></div><div>The reasoning behind that is for having a baseline version for API files for development, relative to the current user install base. In other words, if on Mac the latest PyQt or Qscintilla API files were used, a PyQGIS developer could use the console to craft a script or plugin (that they then intend to release) and may be using APIs that are too new for users of a different platform, e.g. RedHat. The RedHat user may be using Qt 4.6 and the plugin/script may not work for them. Same concept goes for GDAL and other bindings.<br>
<br></div><div>This brings up the question again of what the current base system requirements for QGIS 2.0 should be. My feeling is that Qt should be at minimum 4.6, though I think 4.7.x would be better. Qt 4.6 introduced built in graphics drop shadows, for example. IMO, if a solid set of base requirements can be established, even for common Python libs, then the appropriate base version API files can be generated and ship with 2.0.<br>
<br></div><div>When we discussed this before, Radim made a good point that supporting 5-year-old installed software in the open source community is fairly common, and often special releases are setup with that in mind, e.g. LTS releases. This is much less common in the Mac and Windows user culture.<br>
<br></div><div>In the Python console's settings, Salvatore coded the ability for the user to add custom API files. I haven't tested it recently, but the idea is that a developer could load in what they want to match their target user systems and project.<br>
<br></div><div>Regards,<br><br></div><div>Larry<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
<a href="http://www.kyngchaos.com/" target="_blank">http://www.kyngchaos.com/</a><br>
<br>
First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?<br>
Second Pogril: I don't know.  Why IS life like sticking your head in a bucket filled with hyena offal?<br>
First Pogril: I don't know either.  Wretched, isn't it?<br>
<br>
-HitchHiker's Guide to the Galaxy<br>
<br>
<br>
</blockquote></div><br></div></div>