I am getting the following warning in the Xcode console while running (not compiling) my application since updating to High Sierra on my MacBook:
objc
Maybe try this, it is supposed to work on macOS Mojave 10.14.2. Since I updated to newer version(10.14.6) the warning is back.
import PyQt5.QtWidgets as pyqt options = pyqt.QFileDialog.Options() options |= pyqt.QFileDialog.DontUseNativeDialog