Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] How do I type Git commands/Manage my repository inside Qt Creator?
Qt 6.12 LTS is out! See what's new in the release blog

[SOLVED] How do I type Git commands/Manage my repository inside Qt Creator?

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 1 Posters 3.9k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Git is working under the windows command prompt, but I can't see manage my repository in Qt Creator.

    I created a Git Repository on an external hard drive using Tools>Git>Creat Repository... and I got this response in the version control pane ! :

    15:08 Executing in F:\Git Repository: C:\Program Files (x86)\Git\bin\git.exe init
    Initialized empty Git repository in F:/Git Repository/.git/

    So...somethings working!

    In the Tools>Git> The only active submenu items are :
    Remote Repository>Gerrit...
    Show...
    Create Repository...

    All the others are greyed out, Why?--

    **** How do I type Git commands inside Qt Creator?****

    The documentation at http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup states that I should configure the default text editor that will be used.

    **** If I want to use it in Qt Creator, do I need to configure the default text editor that will be used ?****

    **** If so, what should be the default editor?****

    Development profile = Win 7 64 bit, Qt Creator 2.7.2, Qt.1.0.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Anyone out there that knows anything about this?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        The solution is:

        All the others are greyed out, Why?—
        This was because my project files were located outside of the git repository that I created manually. Instead, I just created a new project and selected Git as my version control and the submenus on Tools>Git all became active.

        How do I type Git commands inside Qt Creator?
        Once the submenus under Tools>Git are active, one may use them to execute Git commands.

        If I want to use it in Qt Creator, do I need to configure the default text editor that will be used ?
        No, that is automatically done.

        When installing Git:
        1- Choose windows command prompt option (2)

        When configuring Qt Creator
        1-Put Git.exe path in Configuration Section using Prepend to path: C:\Program Files (x86)\Git\bin;
        2-Click on Set “HOME” environment variable

        For general instruction see:
        1-http://docs.huihoo.com/qt/qtcreator/1.3/creator-version-control.html
        2-http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup
        3-http://qt-project.org/wiki/Category:Tools::GitQtCreator
        and any other docs at the official Qt website

        1 Reply Last reply
        0

        • Login

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