Skip to content Skip to sidebar Skip to footer

Error When Calling Qtgui.qfiledialog.getexistingdirectory

In a pyqt code, I am trying to promote a dialog to the user and let the user to select a folder. It seems QtGui.QFileDialog.getExistingDirectory method should be able to do that. T

Solution 1:

I cannot reproduce this on my system.

A quick google search returns this result which indicates that the message is caused by a "Viewfinity" product being installed on the system, and is not an issue with PyQt. It seems that this product has modified the native system file dialog. You could avoid it by either uninstalling the product, or asking Qt to not use the native file dialog with the Qt.DontUseNativeDialog option when you create the dialog.

Post a Comment for "Error When Calling Qtgui.qfiledialog.getexistingdirectory"