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

Launching git gui can silently fail

XMLWordPrintable

    • Linux/X11
    • 4fe4f59f1 (master)

      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?

        For Gerrit Dashboard: QTCREATORBUG-30137
        # Subject Branch Project Status CR V

            aha_1980 André Hartmann
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes