[Qgis-developer] pre install run has no python plugins
Martin Dobias
wonder.sk at gmail.com
Fri Dec 9 19:41:01 EST 2011
On Tue, Dec 6, 2011 at 2:47 PM, Sandro Santilli <strk at keybit.net> wrote:
> On Tue, Dec 06, 2011 at 07:28:34PM +0200, Alexander Bruy wrote:
>> Hi Marco,
>>
>> AFAIK when running from build directory QGIS don't have Python plugins
>> and this is know and correct behavior. See Martin's email about this [0]
>
> I wouldn't call it "correct behavior".
> Why would you want a "pre-install" runtime to use "post-install" stuff ?
I would call it "known issue".
Anyway it does not use any post-install stuff, it simply does not
consider the python plugins that would be installed (fTools, gdal
tools, plugin installer, osm).
> On Mon, Jul 25, 2011 at 8:08 PM, Martin Dobias <wonder.sk at gmail.com> wrote:
>> There are few things I am aware of that
>> do not work right now when run from build directory (though they work
>> when installed):
>> - python plugins included in source tree (fTools, installer, gdal
>> tools, osm) are not visible. Their source files would need to be
>> copied to some directory so that they see the generated files -
>> otherwise they would fail to start
>
> I think such copy or symlinking or whatever is needed should be
> implemented somehow in a way to allow _full_ off-system runs.
>
> Don't you agree ?
I agree. But I am not aware of a "nice" way how to do it. Symlinking
does not work on windows, moreover the plugin files are spread into
two parts (sources in source dir + generated code in build dir). So
the only way is to copy everything to the output dir when doing the
build - but I did not add that (yet).
Regards
Martin
More information about the Qgis-developer
mailing list