Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30137

Launching git gui can silently fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • Qt Creator 12.0.0
    • None
    • Linux/X11

    Description

      If no `git-gui` is installed, launching the program fails without any error.

      The problem was described in https://forum.qt.io/topic/141335/qt-creator-tools-git-git-tools-gitk-git-gui

      The problem might be, that we call `git` with `QProcess::startDetached()` which succeeds, but `git` itself fails to run `git-gui`.

      One solution might be use the same code as the `gitk` launcher, but I think that needs some cleanup before.

      On the other hand, the problem seems Unix-only, so maybe it's enough to run `git-gui` on Unix and just keep the Windows code as is?

      What do you think?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              orgads Orgad Shaneh
              aha_1980 André Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes