QFileDialog::getOpenFileName can't jump to the right directory on mac
-
@Princein I can't see the picture.
Is /Users/FaceUnity/Library/Caches/FUCreator/Projects a valid path? Can you open it in Finder?
Also, do you have access to all these directories in the path?@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!
-
@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!
-
@Princein I still can't see it. File upload often does not work here. You can upload it to some file sharing service and post a link here.
-
@Princein
IIRC there was a problem with getOpenFileName in one of the 5.12 releases, but that clearly does not apply to your case...@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!
-
@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
-
@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
