Closed gamma09 closed 2 years ago
Oh nice! I have noticed those files but never took the time to investigate!
I wonder if we could just change the directory when invoking p4v?
Thanks!
I wonder if we could just change the directory when invoking p4v?
Done! To be safe, though, I left p4vc using the perforce install directory because it is a wrapper around p4v for some operations.
Merged! Thank you again very much! I'll tag a new version asap
Seems none of the p4vc commands work anymore after this MR if the global environment variables are not set :(
I'll probably have to backout this change unless we can find a way to indicate where to find the resources
Seems none of the p4vc commands work anymore after this MR if the global environment variables are not set :(
Which global environment variables are you talking about?
I mean P4CLIENT, P4PORT, P4USER, either as regular env var or set with p4 set
I noticed that whenever NiftyPerforce runs a perforce command on a file (such as view in p4v), it would end up polluting the workspace directory where the targeted file lives with a debug.log file containing this message:
[0518/111147.930:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale
It appears the perforce executables (or at least p4v.exe) expect the working directory to be the perforce install directory, or else it can't find the Qt resource packs.