[QGIS-Developer] Converting plugins to QGIS 3

C Hamilton adenaculture at gmail.com
Wed May 10 08:49:01 PDT 2017


Is it better to do an import as

from PyQt4 import QtGui

and then in the code use QtGui.QDialog

or is it better to use

from PyQt4.QtGui import QDialog

Sorry if this is an obvious question. I have been a C/C++/perl programmer
for many years, but just started python about a year and a half ago.

Thanks

On Wed, May 10, 2017 at 11:40 AM, Tom Chadwin <tom.chadwin at nnpa.org.uk>
wrote:

> Remove the line completely, run the plugin, and then individually add the
> modules as they show up as errors. It doesn't take too long.
>
>
>
> -----
> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/QGIS-Developer-Converting-plugins-to-QGIS-3-
> tp5320059p5320063.html
> Sent from the QGIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170510/86550dcd/attachment.html>


More information about the QGIS-Developer mailing list