QFileDialog::getOpenFileName can't jump to the right directory on mac
-
@jsulm yes, the /Users/FaceUnity/Library/Caches/FUCreator/Projects is a valid path!, I use the 'open' command can open the /Users/FaceUnity/Library/Caches/FUCreator/Projects directory,but use the QFileDialog::getOpenFileName can't open the 'Projects' and shows me the 'Users' directory!
-
@J.Hilk said in QFileDialog::getOpenFileName can't jump to the right directory on mac:
in
IIRC there was a problem with getOpenFileName in one of the 5.12 releases, but that clearly does not apply to your case...but, I certainly have this problem, what should I do? can you give me some suggestion!
-
@Princein
well get the source qt (QtBase- module) and inspect the QFileDialog class.Fix it and compile it.
You should check if your issue is still there with the latest QtVersion and if it's fixed there, you can simply compare the source code to find and fix the issue