Re: [QGIS-Developer] Qt WebEngine in QGIS 3.36

2024-05-27 Thread Enrico Ferreguti via QGIS-Developer
Update on this: The flatpak QGIS 3.36.3 with Qt 5.15.10 has no issues. I'll
go with this.
Thank you very much for the support.

Il giorno lun 27 mag 2024 alle ore 20:23 Nyall Dawson <
nyall.daw...@gmail.com> ha scritto:

>
>
> On Mon, 27 May 2024, 11:02 pm Enrico Ferreguti, 
> wrote:
>
>> Hi Nyall
>> the installed qt webengine is the following:
>>
>> $ apt list --installed | grep webengine
>> libqt5webengine-data/jammy,jammy,now 5.15.9+dfsg-1 all [installato,
>> automatico]
>> libqt5webengine5/jammy,now 5.15.9+dfsg-1 amd64 [installato]
>> libqt5webenginecore5/jammy,now 5.15.9+dfsg-1 amd64 [installato,
>> automatico]
>> libqt5webenginewidgets5/jammy,now 5.15.9+dfsg-1 amd64 [installato,
>> automatico]
>> python3-pyqt5.qtwebengine/jammy,now 5.15.5-1 amd64 [installato,
>> automatico]
>> qml-module-qtwebengine/jammy,now
>>
>
> You need python qt webengine 5.15.6 for use in qgis. See
> https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/ChangeLog-5.15.7.dev2405031852
>
> The required change is "Allow Qt.AA_ShareOpenGLContexts to be specified
> before a
>  QCoreApplication is created to allow PyQtWebEngineWidgets to be
>  imported.".
>
> I'd file a bug for your distro and request and update.
>
> Nyall
>
> 5.15.9+dfsg-1 amd64 [installato]
>> qtwebengine5-dev/jammy,now 5.15.9+dfsg-1 amd64 [installato]
>> qtwebengine5-doc/jammy,jammy,now 5.15.9+dfsg-1 all [installato,
>> automatico]
>>
>> Thanks for the support.
>>
>>
>>
>>
>> Il giorno lun 27 mag 2024 alle ore 00:21 Nyall Dawson <
>> nyall.daw...@gmail.com> ha scritto:
>>
>>> On Sun, 26 May 2024 at 18:42, Enrico Ferreguti via QGIS-Developer
>>>  wrote:
>>> >
>>> > Dear QGIS developers, I would need your support to update my plugins.
>>> >
>>> > I read that Qt WebEngine, from QGIS
>>> >
>>> > 3.36.3-Maidenhead, QT 5.15.3, is available for plugins:
>>> https://changelog.qgis.org/en/entry/2607
>>>
>>> Which version of the python webengine library is installed? I suspect
>>> this package is out of date and needs an update.
>>>
>>> Nyall
>>>
>>> >
>>> >
>>> > But on Ubuntu Jammy LTS 22.04 and a fresh QGIS 3.36.3-Maidenhead with
>>> QT 5.15.3, when I try to import from QT5:
>>> > from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage,
>>> >
>>> > I get an exception:
>>> > ImportError: QtWebEngineWidgets must be imported before a
>>> QCoreApplication instance is created
>>> >
>>> > and when I do the same from python3 in bash I get no exceptions
>>> >
>>> > Where Am I wrong? Is there something different to do for importing
>>> QtWebEngineWidgets ?
>>> > Can you point me to a running example?
>>> >
>>> > Thank you very much.
>>> > Enrico Ferreguti
>>> >
>>> >
>>> > ___
>>> > 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] Qt WebEngine in QGIS 3.36

2024-05-27 Thread Enrico Ferreguti via QGIS-Developer
Hi Nyall
the installed qt webengine is the following:

$ apt list --installed | grep webengine
libqt5webengine-data/jammy,jammy,now 5.15.9+dfsg-1 all [installato,
automatico]
libqt5webengine5/jammy,now 5.15.9+dfsg-1 amd64 [installato]
libqt5webenginecore5/jammy,now 5.15.9+dfsg-1 amd64 [installato, automatico]
libqt5webenginewidgets5/jammy,now 5.15.9+dfsg-1 amd64 [installato,
automatico]
python3-pyqt5.qtwebengine/jammy,now 5.15.5-1 amd64 [installato, automatico]
qml-module-qtwebengine/jammy,now 5.15.9+dfsg-1 amd64 [installato]
qtwebengine5-dev/jammy,now 5.15.9+dfsg-1 amd64 [installato]
qtwebengine5-doc/jammy,jammy,now 5.15.9+dfsg-1 all [installato, automatico]

Thanks for the support.




Il giorno lun 27 mag 2024 alle ore 00:21 Nyall Dawson <
nyall.daw...@gmail.com> ha scritto:

> On Sun, 26 May 2024 at 18:42, Enrico Ferreguti via QGIS-Developer
>  wrote:
> >
> > Dear QGIS developers, I would need your support to update my plugins.
> >
> > I read that Qt WebEngine, from QGIS
> >
> > 3.36.3-Maidenhead, QT 5.15.3, is available for plugins:
> https://changelog.qgis.org/en/entry/2607
>
> Which version of the python webengine library is installed? I suspect
> this package is out of date and needs an update.
>
> Nyall
>
> >
> >
> > But on Ubuntu Jammy LTS 22.04 and a fresh QGIS 3.36.3-Maidenhead with QT
> 5.15.3, when I try to import from QT5:
> > from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage,
> >
> > I get an exception:
> > ImportError: QtWebEngineWidgets must be imported before a
> QCoreApplication instance is created
> >
> > and when I do the same from python3 in bash I get no exceptions
> >
> > Where Am I wrong? Is there something different to do for importing
> QtWebEngineWidgets ?
> > Can you point me to a running example?
> >
> > Thank you very much.
> > Enrico Ferreguti
> >
> >
> > ___
> > 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] Qt WebEngine in QGIS 3.36

2024-05-26 Thread Enrico Ferreguti via QGIS-Developer
Dear QGIS developers, I would need your support to update my plugins.

I read that Qt WebEngine, from QGIS

3.36.3-Maidenhead, QT 5.15.3, is available for plugins:
https://changelog.qgis.org/en/entry/2607

But on Ubuntu Jammy LTS 22.04 and a fresh QGIS 3.36.3-Maidenhead with QT
5.15.3, when I try to import from QT5:
from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage,

I get an exception:
ImportError: QtWebEngineWidgets must be imported before a QCoreApplication
instance is created

and when I do the same from python3 in bash I get no exceptions

Where Am I wrong? Is there something different to do for importing
QtWebEngineWidgets ?
Can you point me to a running example?

Thank you very much.
Enrico Ferreguti
___
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-psc] QGIS budget 2023 RFC

2022-12-05 Thread Enrico Ferreguti via QGIS-Developer
> As for A, one of my take is that seeing the grant budget disappear this
year is a pity, especially seeing other amounts dedicated to documentation
for example.

I agree with Vincent and Matteo and even if I understand the need of fund
bugfixing and qt6 migration I would strongly recommend to improve grants
budget as a consistent way to interact with community, furthermore I would
enlarge core developers audience in any way with targeted training and
social involvement and lowering the needed technical contribution skills. I
thank you all for sharing this interesting discussion.

Il giorno lun 5 dic 2022 alle ore 11:27 Vincent Picavet (ml) via
QGIS-Developer  ha scritto:

> Hi Andreas, all,
>
> On 24/11/2022 16:09, Andreas Neumann wrote:
> [..]
> > We did not really discuss the hourly rates at the budget meeting.
> > From 2021 to 2022 we raised the hourly dev rates from 100 to 110 -
> > and the hourly documentation rates from 40 to 44. I know that both
> > rates are low. We can discuss raising them again.
>
> My question was general, and actually includes all prices. I have no
> definite opinion on this topic, as it can be complicated given the
> disparity of inflation according to what price we are talking about, and
> also geographically speaking.
>
> > The plan for the two positions was not to have direct employees of
> > QGIS.ORG , but to use a proxy company, in our case
> > Kartoza, to act as the employer. Also - our budget does not allow
> > regular European or North-American salaries. With these limitations
> > at hand, we can use Kartoza as a proxy to hire employees in certain
> > parts of the world where the salaries we can offer can be attractive
> > - and where they have talented people to work on some of our issues
> > (sysadmin, documentation, etc.)
>
> I have very mixed feelings about this, and it raises lots of questions we
> definitely have to clear out before establishing any process.
>
> - Using a proxy company is very similar to me than having direct
> employees, if these positions have no clear limits of time and perimeter
> - Using a proxy company instead of direct employees can be considered
> illegal according to local legislation. I do not know for Swiss law.
> - How was Kartoza selected ? Was there an open process for other companies
> to apply ? Who decided and on what criteria ? The fact that the company
> owned by a member of QGIS PSC is selected is a big red flag for me, if the
> process is not fully transparent and fair for others.
> - "our budget does not allow European or North-American salaries" : see
> below for the budget volume comments. But I have very mixed feelings about
> this statement : it sounds exactly like social dumping. I do not know what
> would be fair to select employees, and I recognize it to be a complex
> issue, but in some ways it does not feel right.
>
> > For the documentation part: Tim and Harrissou are involved in the
> > selection process of the candidates.
>
> Is the process and selection committee documented somewhere ?
>
> > I agree that the grant budget with 10k is not very attractive. We
> > also discussed skipping it for one year. Not sure what is better ...
> >
> > BTW: you can all help to find new sustaining members ... that would
> > increase our budget and would allow us to pay better hourly rates
> > ...
> >
> > I wish we had a larger budget at hand than the +/- 200k € we seem to
> > be able to attract each year. From certain countries where we know we
> > have a lot of QGIS users (France, Italy - just to name two of them)
> > there are not a lot of sustaining members or donations other than
> > from a few private persons and very small companies. Maybe companies
> > like yours could help us to get in touch with the larger companies
> > with a lot of QGIS users that could become new sustaining members ...
> > Do you think that would be possible?
>
> First of all, complaining that our budget is too low is definitely not the
> way to consider the problem : QGIS.org budget will, by definition,
> **always** be too low compared to what we could need. Developing a software
> and managing a community is a boundless task and you can always find tasks
> and work packages to spend all the money you can imagine of.
>
> I agree that QGIS.org could attract more sustaining members. I just hope
> you are not accusing Oslandia of not doing our job of proselitysm, QGIS
> community support, communication and globally QGIS.org and QGIS software
> contributions. We do our part for sure.
>
> ... And this is not the point, as I said the question I raise is not how
> to increase our budget, since the exact same issues will araise with a
> larger budget.
>
> The questions are :
> - A/ how do we use our existing budget for most important things to support
> - B/ what our decisions processes are, where are they documented, and are
> they clear, transparent and fair
>
> As for A, one of my take is that seeing the grant budget disappear this
>