{"thread":{"id":"11398","subject":"[ANNOUNCE] qgit2.1rc1_win.exe","startedAt":"2007-12-24T09:13:17Z","lastAt":"2007-12-26T23:37:51Z","messageCount":4,"participants":["Marco Costalba","Peter Klavins"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"64067","messageId":"e5bfff550712240113y4acdaa11y3483705172a5980e@mail.gmail.com","threadId":"11398","inReplyTo":null,"subject":"[ANNOUNCE] qgit2.1rc1_win.exe","fromName":"Marco Costalba","fromEmail":"mcostalba@gmail.com","sentAt":"2007-12-24T09:13:17Z","receivedAt":"2007-12-24T09:13:17Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":"Here\n\nhttp://digilander.libero.it/mcostalba/qgit2.1rc1_win.exe\n\nYou can find an auto-extract zip file with a version of qgit built for\nWindows (Vista).\n\nRequires msysgit (http://code.google.com/p/msysgit/)\n\nIs  not a real installation, no registry or other Windows resources\ntouched, just decompress in a directory, read the README and have fun.\n\nMarco\n"},{"id":"64106","messageId":"fkugn8$d2s$1@ger.gmane.org","threadId":"11398","inReplyTo":"e5bfff550712240113y4acdaa11y3483705172a5980e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org","subject":"Re: [ANNOUNCE] qgit2.1rc1_win.exe","fromName":"Peter Klavins","fromEmail":"klavins-ooduxaei7gxtt0ehb6fy4g@public.gmane.org","sentAt":"2007-12-26T21:22:39Z","receivedAt":"2007-12-26T21:22:39Z","isPatch":false,"sender":{"key":"klavins-ooduxaei7gxtt0ehb6fy4g@public.gmane.org","avatar":null},"body":"\n> You can find an auto-extract zip file with a version of qgit built for\n> Windows (Vista).\n\nI found it a bit obscure as to how to rebuild qgit from scratch on Vista, so \njust for the record:\n\n# Set up VS2008\n1. Install Visual Studio 2008\n\n# Set up Qt4\n2. Download qt-win-opensource-src-4.3.3.zip from \nhttp://trolltech.com/developer/downloads/qt/windows and unzip into directory \n(e.g.,) C:\\qt-win-opensource-src-4.3.3\n3. cd C:\\qt-win-opensource-src-4.3.3\n4. configure                 (takes significant time, around 10 minutes from \nmemory)\n5. nmake                     (takes over an hour on a Core 2 Duo 2 GHz, \nconsumes 2 GByte of disk)\n\n# Install git and use it to get qgit4 source\n6. Download Git-1.5.4-rc1-preview20071221-corrected.exe from \nhttp://code.google.com/p/msysgit/downloads/ and install (default directory \nC:\\Program Files\\Git is fine)\n7. Open Git Bash from Start menu, set up Src directory (e.g., mkdir Src, cd \nSrc)\n8. git clone git://git.kernel.org/pub/scm/qgit/qgit4.git        (to get qgit \nsources into Src/qgit4)\n9. Exit Git Bash shell\n\n# Build and run qgit\n10. Open VS2008 command prompt, ensuring that VS tools are on the PATH by \ntest invoking 'nmake'\n11. Add qmake to path with PATH=C:\\qt-win-opensource-src-4.3.3\\bin;%PATH%\n12. Add git to path with PATH=C:\\Program Files\\Git\\bin;%PATH%\n13. Navigate to qgit4 directory (e.g., cd C:\\Users\\<you>\\Src\\qgit4)\n14. qmake              (to preprocess with Qt4)\n15. nmake              (to build debug version)\n16. bin\\qgit             (to run qgit to browse qgit4's own repository!)\n\n------------------------------------------------------------------------\n Peter Klavins \n"},{"id":"64108","messageId":"e5bfff550712261523g7aab6e76nd37257e7b21d1653@mail.gmail.com","threadId":"11398","inReplyTo":"fkugn8$d2s$1@ger.gmane.org","subject":"Re: [ANNOUNCE] qgit2.1rc1_win.exe","fromName":"Marco Costalba","fromEmail":"mcostalba-re5jqeeqqe8avxtiumwx3w@public.gmane.org","sentAt":"2007-12-26T23:23:36Z","receivedAt":"2007-12-26T23:23:36Z","isPatch":false,"sender":{"key":"mcostalba-re5jqeeqqe8avxtiumwx3w@public.gmane.org","avatar":null},"body":"\nOn Dec 26, 2007 10:22 PM, Peter Klavins <klavins-ooduxAEi7gXtt0EhB6fy4g@public.gmane.org> wrote:\n>\n> 4. configure                 (takes significant time, around 10 minutes from\n> memory)\n\nconfigure -fast -no-qt3support -static -release -no-qmake\n\nTakes much less (about one minute)\n\n> 5. nmake                     (takes over an hour on a Core 2 Duo 2 GHz,\n> consumes 2 GByte of disk)\n>\n\n2GBytes because default configure is -debug, but giving -release\ninstead the needed space is much less because debug symbols are not\nbuilt.\n\nAlso use:\n\nnmake sub-src\n\n30minutes on my Core Duo 1.5Ghz. It just compiles the Qt libraries\nunder src directory, not Qt tools like designer, assistant and\nexpecially the Qt examples.\n\nNote: first you need to run nmake to build makefile then, just after\nthe makefile in main directory is built (few seconds) you can stop it\nand run nmake sub-src.\n\n> 16. bin\\qgit             (to run qgit to browse qgit4's own repository!)\n>\n\nmsysgit must be in PATH, both Git\\cmd and Git\\bin. Or you can use the\nlaunch script start_qgit.bat that just adds msysgit to the PATH for\nyou before to call qgit.exe\n\n\n\n> ------------------------------------------------------------------------\n>  Peter Klavins\n>\n\nThanks Peter,\n\nJust a question. How about using the auto-extract zip I advertise in\nthis thread? With this both Qt and qgit are already compiled and\nshould be ready to go.\n\n\nMarco\n"},{"id":"64109","messageId":"fkuoko$1vg$1@ger.gmane.org","threadId":"11398","inReplyTo":"e5bfff550712261523g7aab6e76nd37257e7b21d1653-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org","subject":"Re: [ANNOUNCE] qgit2.1rc1_win.exe","fromName":"Peter Klavins","fromEmail":"klavins-ooduxaei7gxtt0ehb6fy4g@public.gmane.org","sentAt":"2007-12-26T23:37:51Z","receivedAt":"2007-12-26T23:37:51Z","isPatch":false,"sender":{"key":"klavins-ooduxaei7gxtt0ehb6fy4g@public.gmane.org","avatar":null},"body":"\n> Just a question. How about using the auto-extract zip I advertise in\n> this thread? With this both Qt and qgit are already compiled and\n> should be ready to go.\n\nI did use your auto-extract utility, and it worked as advertised, thanks. \nJust as an aside, I think it would be better for it to also package git \n(msysgit version), so there's no need to search for git and pre-download it.\n\nBut being and old engineer at heart, I had to understand how to build qgit \nfrom scratch, and not being at all familiar with Qt, it was difficult to get \nit working, thus I wrote the note just in case others were having similar \ndifficulties. I appreciate your clarification of the build steps.\n\nDo you think it's worthwhile adding this info into your README?\n\n------------------------------------------------------------------------\n Peter Klavins \n"}]}