Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator, Tools -> Git -> Git Tools -> Gitk | Git Gui
Forum Update on Tuesday, May 27th 2025

Qt Creator, Tools -> Git -> Git Tools -> Gitk | Git Gui

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 474 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SPlatten
    wrote on 8 Dec 2022, 07:58 last edited by SPlatten 12 Aug 2022, 08:34
    #1

    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?

    Kind Regards,
    Sy

    A 1 Reply Last reply 23 Dec 2023, 16:46
    0
    • S SPlatten
      8 Dec 2022, 07:58

      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?

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 23 Dec 2023, 16:46 last edited by
      #2

      @SPlatten

      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

      Qt has to stay free or it will die.

      A 1 Reply Last reply 24 Dec 2023, 12:43
      2
      • A aha_1980
        23 Dec 2023, 16:46

        @SPlatten

        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

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 24 Dec 2023, 12:43 last edited by
        #3

        So it turned out to be more complicated.

        The reason for silently failing Git Gui is, that the command git gui is called as detached QProcess. You would get an error if git could not be called, but you won't get an error if git 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

        Qt has to stay free or it will die.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved