Using Qt Creator with Git version control

2019-07-24 19:40发布

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条回答
手持菜刀,她持情操
2楼-- · 2019-07-24 20:27

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.

查看更多
登录 后发表回答