Re: [QGIS-Developer] Docs/Instructions for Filter/Query Builder

2021-10-25 Thread pathmapper
I've just been asked by some average QGIS user (unknown to SQL queries) how to create a simple filter like cityname='foo' for a vector layer. That was almost impossible for that person, unaware of SQL... Thank you for raising this issue Richard, got the same feedback from some users. For

Re: [QGIS-Developer] Problems with QgsProviderRegistry providerMetadata method

2021-10-25 Thread Bo Victor Thomsen
Thanks Alessandro - that did the trick... This works: metadata = QgsProviderRegistry.instance().providerMetadata('postgres') conn = metadata.connections(*False*) for c in conn.keys(): print(c) As I suspected: The bug was placed 50 cm from the computer screen, i.e an "error-50" Med venlig

Re: [QGIS-Developer] Problems with QgsProviderRegistry providerMetadata method

2021-10-25 Thread Alessandro Pasotti
Hi Bo, Is that with or without `cached` ? QMap connections( bool cached = true ) On Mon, Oct 25, 2021 at 11:46 AM Bo Victor Thomsen < bo.victor.thom...@gmail.com> wrote: > Hi list members - > > I stumbled on something weird (for me at least): > > If I run the following code in the Python

[QGIS-Developer] Problems with QgsProviderRegistry providerMetadata method

2021-10-25 Thread Bo Victor Thomsen
Hi list members - I stumbled on something weird (for me at least): If I run the following code in the Python console: metadata = QgsProviderRegistry.instance().providerMetadata('postgres') conn = metadata.connections() for c in conn.keys(): print(c) It shows me (as I would expect): A list of

Re: [QGIS-Developer] Build / install issues

2021-10-25 Thread Colin Sare-Soar
Richard, No, nor am I! I normally use Qt and that takes care of the makefiles itself. It was just that 1 entry that expanded wrong for some reason but having said that, I didn't edit any other entries. It's all running fine now though. Colin > On 25/10/2021 13:25 Richard Duivenvoorde wrote: >

Re: [QGIS-Developer] Docs/Instructions for Filter/Query Builder

2021-10-25 Thread Richard Duivenvoorde
On 10/25/21 2:09 AM, Nyall Dawson wrote: > On Sun, 24 Oct 2021 at 19:56, Richard Duivenvoorde > wrote: >> >> Hi Harrissou, >> >> Indeed this is the dialog that you got when you had a WFS layer in earlier >> versions like 3.16: >>

Re: [QGIS-Developer] Build / install issues

2021-10-25 Thread Richard Duivenvoorde
Ah, wait now I see you have a cmake/'man'-page issue... Sorry, that works fine with me... I'm not too much into the cmake magic... Richard On 10/25/21 4:41 AM, Colin Sare-Soar wrote: > I originally posted this as a bug on Github but was told it was better posted > here. > > Although it isn't

Re: [QGIS-Developer] Build / install issues

2021-10-25 Thread Richard Duivenvoorde
Hi Colin, Could it be that you have 'WITH_CUSTOM_WIDGETS' ON? Because that makes that the installer tries to install the qgs(custom) widgets in the QT_PLUGINS_DIR which you can only write to as root. Would be nice if we could take that out indeed, having custom widgets and a non root install