We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to report this to Qt. Non-native dialog works.
1197:preqtrio administrator$ venv/bin/python x.py /Users/administrator/preqtrio/blue
import os import pathlib from PyQt5 import QtWidgets p = (pathlib.Path('blue') / 'red').resolve() parent = p.parent parent.mkdir(parents=True, exist_ok=True) app = QtWidgets.QApplication([]) if not parent.is_dir(): raise Exception('parent is not a directory') s = os.fspath(parent) print(s) dialog = QtWidgets.QFileDialog(directory=s) dialog.selectFile(os.fspath(p)) dialog.show() app.exec_()
The text was updated successfully, but these errors were encountered:
non-native file dialog on macOS
4c7c1eb
#28
No branches or pull requests
Need to report this to Qt. Non-native dialog works.
The text was updated successfully, but these errors were encountered: