Hallo Johannes, here you have an example of version checks in the *classFactory()* itself (file *__init__.py* of your plugin).
https://github.com/SwissTierrasColombia/Asistente-LADM-COL/blob/master/asistente_ladm_col/__init__.py Regards, Germán ( *mit Akzent :) *) El mié, 12 ene 2022 a las 10:52, Johannes Kröger (WhereGroup) (< johannes.kroe...@wheregroup.com>) escribió: > Hey Matthias, > > that is an interesting idea. Is there an overview of the official builds' > versions and Qt versions somewhere? For now I decided to check the Qt > version in the plugin's run method. It's not the best as the user will only > find out when they want to run it, but it is only meant as a temporary fix > anyways. > > Thanks, Hannes > Am 11.01.22 um 17:31 schrieb Matthias Kuhn: > > Hi Hannes, > > There is no such thing available currently. > If you know which OS your users run on you can use the QGIS version as an > indicator. > > Matthias > > On Tue, Jan 11, 2022 at 5:18 PM Johannes Kröger (WhereGroup) < > johannes.kroe...@wheregroup.com> wrote: > >> Hi list, >> >> is there a way to specify the minimum Qt version for a plugin? I saw >> nothing in metadata.txt which would be the preferrable way because >> otherwise I'd need to throw a dialog into the user's face after >> installing. :\ >> >> Thanks, Hannes >> >> -- >> Johannes Kröger / GIS-Entwickler/-Berater >> WhereGroup GmbH >> Grevenweg 89 >> 20537 Hamburg >> Germany >> >> Tel: +49 (0)228 / 90 90 38 - 36 >> Fax: +49 (0)228 / 90 90 38 - 11 >> >> johannes.kroe...@wheregroup.com >> www.wheregroup.com >> Geschäftsführer: >> Olaf Knopp, Peter Stamm >> Amtsgericht Bonn, HRB 9885 >> ------------------------------- >> >> --------------------------------------------- >> Schon gewusst? >> In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software >> und berichten aus unserem Experten-Alltag: >> https://wheregroup.com/blog/ >> --------------------------------------------- >> >> _______________________________________________ >> 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 >> > -- > Johannes Kröger / GIS-Entwickler/-Berater > WhereGroup GmbH > Grevenweg 89 > 20537 Hamburg > Germany > > Tel: +49 (0)228 / 90 90 38 - 36 > Fax: +49 (0)228 / 90 90 38 - 11 > johannes.kroe...@wheregroup.comwww.wheregroup.com > Geschäftsführer: > Olaf Knopp, Peter Stamm > Amtsgericht Bonn, HRB 9885 > ------------------------------- > > --------------------------------------------- > Schon gewusst? > In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software > und berichten aus unserem Experten-Alltag:https://wheregroup.com/blog/ > --------------------------------------------- > > _______________________________________________ > 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 > -- ----------- |\__ (:> __)( |/ Soluciones Geoinformáticas Libres http://geotux.tuxfamily.org/ https://twitter.com/GeoTux2 <http://twitter.com/GeoTux2> <http://gis.stackexchange.com/users/4972/germ%c3%a1n-carrillo>
_______________________________________________ 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