Using Qt Creator with Git version control

这一生的挚爱 提交于 2019-12-11 00:53:52

问题


I’ve recently installed git and initialized a git repo in my project folder. I can commit and checkout without any issues through the command line, but for some reason the gui in qt creator claims my connection has timed out. Im running windows…. Any ideas?

Error message(s):

21:15 Executing: git status –u Unable to obtain the status: Error: Git timed out

Please let me know if any further clarification is needed!

I've posted this on both qt forums, but no one seems to know how to solve the issue. Thanks in advance!


回答1:


Some thoughs:

  • Are you using Cygwin for the command line? If so, Qt Creator might fail because either git or the required ssh executables can not be found. How do you connect to the remote repository?

  • I'm quite sure this is because Qt Creator can not find the git executable. Try setting the exact path of the git executable in Qt Creator's settings.



来源:https://stackoverflow.com/questions/1452964/using-qt-creator-with-git-version-control

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!