If you are using Qt Creator to import a project from GitHub for the
first time on Windows platform, it is likely that you bump into a error
message that says
'github --credentials get: github: command not found' as shown in the following snapshort:
It is because the Qt Creator cannot find the command github.exe.
Solution:
1. Quit QtCreator
2.
Locate the GitHub.exe on your filesystem. On my system it is found at a
directory with a random path name, like
C:\Users\Administrator\AppData\Local\Apps\2.0\MABV7ZWL.KHW\CVO8ACAH.VPQ\gith..tion_317444273a93ac29_0001.0002_78c6bdd8dae00dd4
3. Add the above directory to the environment variable path.
4. Open Qt Creator and re-import your git project.
No comments:
Post a Comment