Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. What's the best dcvs to use with Qt ?
QtWS25 Last Chance

What's the best dcvs to use with Qt ?

Scheduled Pinned Locked Moved The Lounge
28 Posts 20 Posters 18.0k Views
  • 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.
  • I Offline
    I Offline
    idertator
    wrote on last edited by
    #11

    I like a lot subversion, because is very easy to set up your own server for personal user and the integration with QtCreator works very good as well

    1 Reply Last reply
    0
    • U Offline
      U Offline
      ucomesdag
      wrote on last edited by
      #12

      Git for me too. Before I used Subversion but switched to Git because it creates a full local copy of the repository and has much easier branch control.

      Write “Qt”, not “QT” (QuickTime).

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #13

        I saw a blueprint about adding bzr support to Qt Creator over at the ubuntu web page. Check the "Creator plugin page":http://developer.qt.nokia.com/wiki/Qt_Creator_Plug-in_Gallery for a link.

        PS: Please update the page if anything needs updating or you know of a plugin that is missing there.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          croland
          wrote on last edited by
          #14

          I use Git only because it seems to work slightly better than bzr, but I'm with Milot, I can't stand Linus. One pro for me is, I'm seeing more repositories out there that support git, especially in the Ruby community.

          I might give mercurial a try.

          Subversion seems to be a great central repository. I sometimes have a central repo with svn and use git or bzr locally. There are pros and cons to this depending on which dvcs you use.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            alexbravo
            wrote on last edited by
            #15

            A lot of Qt projects (including Qt itself) are hosted on "gitorious.org":http://gitorious.org, so I would say try git there first. It's pretty simple even for people who don't know anything about git.
            This short FAQ should get you started: "FAQ":http://gitorious.org/about/faq

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Ramblurr
              wrote on last edited by
              #16

              I haven't used any other DVCS then git. Using SVN after getting acquainted with git is like being a prisoner in "Plato's Cave":http://en.wikipedia.org/wiki/Allegory_of_the_Cave that is let out to gaze upon the sun then bundled back into the cave and chained to the wall again.

              Git plug: A great reference site for git is "git ready":http://www.gitready.com/

              1 Reply Last reply
              0
              • X Offline
                X Offline
                xeonn
                wrote on last edited by
                #17

                I've tried Monotone, Mercurial, Subversion and Git. Ended up with Git.

                Mercurial didn't have inline branching and rebase back then.

                Git feels more natural. Things getting easier day by day. Especially when you are the kind of guy who like to make last minute decision.

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  john_god
                  wrote on last edited by
                  #18

                  Shame on me, I have been lazy and still havent tested none of those, I just copy my current project directory and start a branch from there.
                  Humm, a couple a days ago just had a nasty hard disk crush, I think I'm going to loose 2 weeks of development, so it's time to start looking for a on-line repository. I think will try git...

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    flywheel
                    wrote on last edited by
                    #19

                    I am simply unable to function with Git - it is a mutual hate/hate relationship.

                    Mercurial on the other hand worked almost out-of-the-box for me and it works fine in Qt-Creator to.

                    Live long and prosper...

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      Franzk
                      wrote on last edited by
                      #20

                      There's a nice comparison between git and mercurial on "some blog somewhere":http://importantshock.wordpress.com/2008/08/07/git-vs-mercurial/. It basically states that git is MacGuyver, while Mercurial is James Bond. Just read it for some more.

                      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

                      http://www.catb.org/~esr/faqs/smart-questions.html

                      1 Reply Last reply
                      0
                      • mzimmersM Offline
                        mzimmersM Offline
                        mzimmers
                        wrote on last edited by
                        #21

                        I suppose it's about time for me to adopt a CM tool. I'll be the sole developer on this project, but I want to "do it right." Do we have a tutorial anywhere on the Mercurial integration?

                        Thanks.

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          goetz
                          wrote on last edited by
                          #22

                          The mercurial integration of Qt Creator should be straightforward, it's the command line tools with some nice GUI around it. First, you need to get accustomed to mercurial as such :-)

                          Best is to start with the Mercurial docs and play the examples on the command line.

                          http://www.catb.org/~esr/faqs/smart-questions.html

                          1 Reply Last reply
                          0
                          • mzimmersM Offline
                            mzimmersM Offline
                            mzimmers
                            wrote on last edited by
                            #23

                            Thanks...I tried creating a repository (from withing Creator), and it failed, so I figured I'd better start doing some reading.

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              goetz
                              wrote on last edited by
                              #24

                              What was the error message?

                              And depending on how and where Mercurial is installed, it might be necessary to tell Qt Creator the path (Preferences / Version control / Mercurial; enter the path to hg in the top most field and your Name and Email in that below, unfortunately Creator seems not to pick up the default values...

                              http://www.catb.org/~esr/faqs/smart-questions.html

                              1 Reply Last reply
                              0
                              • mzimmersM Offline
                                mzimmersM Offline
                                mzimmers
                                wrote on last edited by
                                #25

                                Well, the error message I was alluding to was "A version control repository could not be created in (my directory)," but...

                                ...I just looked at the messages in the version control window, and it says it can't find hg, so I think you're right. In fact, I'm not convinced it's installed on my system. I assumed because the create command in the Tools->Mercurial menu was active, it was installed; not necessarily so?

                                1 Reply Last reply
                                0
                                • G Offline
                                  G Offline
                                  goetz
                                  wrote on last edited by
                                  #26

                                  Nope, unfortunately the menus are not disabled then.

                                  Mercurial is not installed by default on a Mac OS X box (as opposed to subversion). You can install it easily with

                                  @
                                  sudo easy_install -U mercurial
                                  @

                                  You can use this command too, to upgrade mercurial, once a new version is out.

                                  hg is then installed in /usr/local/bin, thus you should enter /usr/local/bin/hg in the config box.

                                  http://www.catb.org/~esr/faqs/smart-questions.html

                                  1 Reply Last reply
                                  0
                                  • mzimmersM Offline
                                    mzimmersM Offline
                                    mzimmers
                                    wrote on last edited by
                                    #27

                                    Actually, I downloaded it from a site I found through google. The repository created successfully this time, so I'll assume the other stuff will work. Thanks, Volker.

                                    1 Reply Last reply
                                    0
                                    • G Offline
                                      G Offline
                                      goetz
                                      wrote on last edited by
                                      #28

                                      That's ok too, of course.

                                      Feel free to ask further questions, if you have, possibly on a new thread in the Lounge for example, as Mercurial is not so deeply Qt-related :-)

                                      http://www.catb.org/~esr/faqs/smart-questions.html

                                      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 Extensions
                                      • Unsolved