Qt Creator, Tools -> Git -> Git Tools -> Gitk | Git Gui
-
wrote on 8 Dec 2022, 07:58 last edited by SPlatten 12 Aug 2022, 08:34
I am using Qt Creator 4.12.4 Based on Qt 5.15.2 (GCC 8.5.0 20210514 (Red Hat 8.5.0-10), 64 bit)
Both GitK and Git Gui menu options are showing as available but selecting either of these does nothing, no messages are reported in any of the various tabs at the bottom and no dialog is displayed. Is this a bug?
-
I am using Qt Creator 4.12.4 Based on Qt 5.15.2 (GCC 8.5.0 20210514 (Red Hat 8.5.0-10), 64 bit)
Both GitK and Git Gui menu options are showing as available but selecting either of these does nothing, no messages are reported in any of the various tabs at the bottom and no dialog is displayed. Is this a bug?
I know this topic is old, but I wanted to add my two cent.
Both menu entries are available when you have a project that is under git version control.
The menu entries do not check, if the tools are available, that's up to you to install them.
However, when starting fails you should see an error message in the Version Control panel. In my case, for
gitk
the pane even pops up saying:17:40:58 Running in "/home/andre/git/qt-creator": /cmd/gitk . Cannot launch "/cmd/gitk".Cannot launch "gitk".
For git-gui, it fails silently for me also :(
Regards
-
I know this topic is old, but I wanted to add my two cent.
Both menu entries are available when you have a project that is under git version control.
The menu entries do not check, if the tools are available, that's up to you to install them.
However, when starting fails you should see an error message in the Version Control panel. In my case, for
gitk
the pane even pops up saying:17:40:58 Running in "/home/andre/git/qt-creator": /cmd/gitk . Cannot launch "/cmd/gitk".Cannot launch "gitk".
For git-gui, it fails silently for me also :(
Regards
So it turned out to be more complicated.
The reason for silently failing Git Gui is, that the command
git gui
is called as detachedQProcess.
You would get an error ifgit
could not be called, but you won't get an error ifgit
itself fails to call Git Gui.We could use the same mechanism as for Gitk here, but that is complicated on Windows and seems to need some cleanup before.
I've created QTCREATORBUG-30137 to further track this issue.
Regards