I'm trying to use Git for Windows together with QT Creator 2.8, and failing miserably. I created a repository on bitbucket, following the bitbucket 101 tutorial and everything runs smoothly when I use Git Bash, or even Git GUI. The PATH variable is set properly, everything works outside Qt. However, when trying to configure Qt Creator, I cannot access the remote repository. The error given is:
16:25 Executing in C:\Users(...): C:\Program Files (x86)\Git\cmd\git.exe pull The command 'C:\Program Files (x86)\Git\cmd\git.exe' did not respond within the timeout limit (60000 ms).
Almost everything I have found tells me to configure PATH, and that should cause everything to run ok, but my PATH is set correctly (I can type ssh from the windows command prompt and it works). The Qt Creator documentation (http://qt-project.org/doc/qtcreator-2.8/creator-version-control.html) tells me that I should
"Select Tools > Options > Version Control > Git. Select the Environment Variables and the Set "HOME" environment variable check boxes."
The set "HOME"(...)
box is checked, but there is no "Environment Variables" box. The SSH prompt command is set to C:\Program Files (x86)\Git\bin\ssh.exe
, but I have tried setting it to almost every program on \git\bin
and git\cmd
without success. I have found answers here that tell me to use some version of win-ssh-askpass or win-ssh-agent, but those either require Cygwin or come from dubious sources.