[QGIS-Developer] tkinter didn’t work

Nyall Dawson nyall.dawson at gmail.com
Wed Jul 14 21:56:23 PDT 2021


On Tue, 6 Jul 2021 at 02:03, Joao Folgado <jfolgado94 at gmail.com> wrote:
>
> Hi Qgis Developers !
>
> In a plugin I tried to use a if statement that while ask something to the user.
> My ideia is to us tkinter but the library did not exist.
>
> Do any one know who to use Tkinter in Qgis plugin ?

Don't use it! QGIS is built on the Qt library, so all GUI components
like message boxes should be made using PyQt instead.

Nyall

>
> Best Regards,
> João Folgado
> --
> JOÃO FOLGADO
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list