[PyQt] Invasive messages using windows native file dialogs

V. Armando Solé sole at esrf.fr
Fri Feb 23 12:56:51 GMT 2018


Hello,

Using native file dialogs with latest available wheel (pip install
PyQt5) on Python 3.6 gives messages on console whenever a file is
selected or directory is changed.

Message:

QWindowsnativeFileDialogBase:onSelectionChange( ....)

System: Windows 7, Python 3.6, PyQt 5.10, Qt 5.10

Test code:

import sys
import PyQt5.Qt as qt
app = qt.QApplication([])
w = qt.QFileDialog.getOpenFileNames()
w._exec()
sys.exit()

Is there a way to suppress that logging information?

Thanks a lot,

Armando




More information about the PyQt mailing list