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 Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 475 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by SPlatten
    #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

    aha_1980A 1 Reply Last reply
    0
    • SPlattenS SPlatten

      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?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 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.

      aha_1980A 1 Reply Last reply
      2
      • aha_1980A aha_1980

        @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

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 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