Re: [QGIS-Developer] QGIS custom widgets badly placed in Osgeo4W install

2017-11-14 Thread Jürgen E . Fischer
Hi,

On Tue, 14. Nov 2017 at 17:56:22 +0100, Jürgen E. Fischer wrote:
> Like?  Shouldn't those be covered by including
> %OSGEO4W_ROOT%\apps\%PACKAGE%\python in the PYTHONPATH.

Which BTW is what among the things the
%OSGEO4W_ROOT%\bin\python-%PACKAGENAME%.bat wrappers do.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS custom widgets badly placed in Osgeo4W install

2017-11-14 Thread Jürgen E . Fischer
Hi Denis,

On Tue, 14. Nov 2017 at 14:27:41 +, Denis Rouzaud wrote:
> The file is pretty invariant, even within QGIS 2 vs 3.
> I would be in favor of placing it in place as it would solve quite some
> issues.

Like?  Shouldn't those be covered by including
%OSGEO4W_ROOT%\apps\%PACKAGE%\python in the PYTHONPATH.


Jürgen


-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS custom widgets badly placed in Osgeo4W install

2017-11-14 Thread Denis Rouzaud
Hi Nathan,

Thanks for your reply.

The file is pretty invariant, even within QGIS 2 vs 3.
I would be in favor of placing it in place as it would solve quite some
issues.

Denis

Le mar. 14 nov. 2017 à 14:41, Nathan Woodrow  a écrit :

> Hey Denis,
>
> We can't really put it in C:\OSGeo4W\apps\Python27\Lib\site-packages\PyQt4\uic
> as it will conflict with different versions.  It would have to be in the
> installed folder for each version and then set with a custom path which is
> should already be doing.
>
> - Nathan
>
> On Tue, Nov 14, 2017 at 11:30 PM, Denis Rouzaud 
> wrote:
>
>> Hi all, mainly Jürgen I guess ;)
>>
>> During a course, I just realized qgis_customwidgets.py is badly placed
>> preventing using QGIS custom widgets within uic.loadUiType.
>>
>> It is placed in
>> C:\OSGeo4W\apps\qgis\python\PyQt4\uic
>> while it should be in
>> C:\OSGeo4W\apps\Python27\Lib\site-packages\PyQt4\uic
>>
>> Thanks a lot for fixing this :)
>>
>> Cheers,
>> Denis
>>
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS custom widgets badly placed in Osgeo4W install

2017-11-14 Thread Nathan Woodrow
Hey Denis,

We can't really put it in C:\OSGeo4W\apps\Python27\Lib\site-packages\PyQt4\uic
as it will conflict with different versions.  It would have to be in the
installed folder for each version and then set with a custom path which is
should already be doing.

- Nathan

On Tue, Nov 14, 2017 at 11:30 PM, Denis Rouzaud 
wrote:

> Hi all, mainly Jürgen I guess ;)
>
> During a course, I just realized qgis_customwidgets.py is badly placed
> preventing using QGIS custom widgets within uic.loadUiType.
>
> It is placed in
> C:\OSGeo4W\apps\qgis\python\PyQt4\uic
> while it should be in
> C:\OSGeo4W\apps\Python27\Lib\site-packages\PyQt4\uic
>
> Thanks a lot for fixing this :)
>
> Cheers,
> Denis
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QGIS custom widgets badly placed in Osgeo4W install

2017-11-14 Thread Denis Rouzaud
Hi all, mainly Jürgen I guess ;)

During a course, I just realized qgis_customwidgets.py is badly placed
preventing using QGIS custom widgets within uic.loadUiType.

It is placed in
C:\OSGeo4W\apps\qgis\python\PyQt4\uic
while it should be in
C:\OSGeo4W\apps\Python27\Lib\site-packages\PyQt4\uic

Thanks a lot for fixing this :)

Cheers,
Denis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer