I've got PyQt4 with a python 3.4 and there is this strange bug occurring. Whenever I try to call btn.clicked.connect(), Pycharm will throw this error:
Cannot find reference "connect" in "function".
So for example:
btn = QtGui.QPushButton("Quit", self)
btn.clicked.connect(QtCore.QCoreApplication.instance().quit)
will throw this error. How? Do I have missing files?
PyQt's version?self.connect(btn, SIGNAL("clicked()"), the_slot)if self derives fromQWidget