Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been working on a QGIS plugin on Quantum GIS 1.6.0 Copiapo with Python 2.5 that calculates additional values for eachf feature of a vector layer and adds them to the .dbf. We've just upgraded to QGIS 1.7.4 Wroclaw with Python 2.7. But since the upgrade the plugin doesn't work anymore in 1.7.4. While on 1.6.0 all functionalities work fine, running the plugin in 1.7.4 actions on a number of QPushButtons and some other functionality within the ui do not trigger any actions. I've tried both the old and the new-style connections, like:

QObject.connect(browseCalcButton, SIGNAL('clicked ()'), self.browseCalcFunction)


This seems to be true for all QPushButtons that DON'T either call...

  • ... a handler: attributesButtons[i].clicked.connect(self.createHandler_assign_attribute(i, key))

  • ... an existing pyqt method: eA_Fertigstellen.clicked.connect(self.eAui.hide)

... but rather a function within the script:

  • browseCalcButton.clicked.connect(self.browseCalc)

Are there compatibility issues between QGIS 1.6.0 and 1.7.4?
Are there any adjustments neccessary?

Has anyone had similar problems?

share|improve this question
You likely hit a difference in Qt version. I believe this was mentioned on the QGIS developer mailing list. – wildintellect Jun 18 '12 at 17:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.