# [ANNOUNCE] qgit-2.1 and qgit-1.5.8

6 messages from 2007-12-31 to 2008-01-01. Participants: Marco Costalba, Boaz Harrosh.
Thread: https://gitlist.dev/t/11435

## Marco Costalba, 2007-12-31 07:35

Subject: [ANNOUNCE] qgit-2.1 and qgit-1.5.8
Message-ID: <e5bfff550712302335ie96e143g55c93e984fba6aaa@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550712302335ie96e143g55c93e984fba6aaa%40mail.gmail.com

```

Hi all,

  new versions of Qt4 based qgit-2.1 and stable Qt3 based qgit-1.5.8
have been released.

Download tarballs from
http://sourceforge.net/project/showfiles.php?group_id=139897

Or directly from git repositories

git://git.kernel.org/pub/scm/qgit/qgit.git   (qgit-1.5.8)
git://git.kernel.org/pub/scm/qgit/qgit4.git  (qgit-2.1)


Stable qgit-1.5.8 has only maintenance fixes, not a lot indeed, it
happens to be already very stable.

New stuff is in qgit-2.1, you can find a detailed changelog at

http://git.kernel.org/?p=qgit/qgit.git;a=shortlog


After popular request, this time I have packaged qgit-2.1 in a nice
Windows installer (Inno Setup based) downloadable from the above
sourceforge link, so that our Window's friends can try qgit without
worrying about compilers, Qt libraries and other geeky things ;-)

Window installer will ask you to locate the msysgit directory. Indeed
msysgit is the only supported git distribution under Windows, because
Cygwin has some issues and is also muuuch slower.

So the only prerequisite is to have already installed msysgit
(http://code.google.com/p/msysgit/)


Happy new year 2008 !
Marco

```

## Marco Costalba, 2007-12-31 11:58

Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8
Message-ID: <e5bfff550712310358g347d883fm9866f328f24e3ad0@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550712310358g347d883fm9866f328f24e3ad0%40mail.gmail.com
In-Reply-To: <4778CB78.2010906@yahoo.it>

```
On Dec 31, 2007 11:59 AM, Filippo Zangheri <filippo.zangheri@yahoo.it> wrote:
>
> Hi,
>
> I git-cloned qgit-2.1 from your repository, then ran `qmake qgit.pro`, but `make` gave me errors.

Yes, you need qmake of Qt4 not the Qt3 one.

> Afterwards I deleted src/Makefile, ran `qmake-qt4 qgit.pro` and `make` starts compiling some files but the process ends with other errors.
> This is the command line:
>
> filippo@master:/usr/src/git/qgit$ make
> cd src && make -f Makefile
> make[1]: Entering directory `/usr/src/git/qgit/src'
> make -f Makefile.Release
> make[2]: Entering directory `/usr/src/git/qgit/src'
> g++ -c -pipe -O2 -g3 -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT  -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../share/qt4/mkspecs/linux-g++ -I. -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtGui -I../../../../include/qt4 -I../src -I../build -I../build -o ../build/customactionimpl.o customactionimpl.cpp
> make[2]: Leaving directory `/usr/src/git/qgit/src'
> make[1]: Leaving directory `/usr/src/git/qgit/src'
> ../build/ui_customaction.h: In member function 'void Ui_CustomActionBase::setupUi(QWidget*)':
> ../build/ui_customaction.h:68: error: 'class QHBoxLayout' has no member named 'setLeftMargin'
> ../build/ui_customaction.h:69: error: 'class QHBoxLayout' has no member named 'setTopMargin'

This is because you need at least Qt 4.3 as written in the README.

>
>
>
> I'm running Debian Etch 4.0 with vanilla kernel version 2.6.23.1 and I have the following packages installed:
>
> filippo@master:/usr/src/git/qgit$ dpkg -l | grep qt4
> ii libqt4-core                  4.2.1-2+etch1   Qt 4 core non-GUI functionality runtime library
> ii libqt4-dev                   4.2.1-2+etch1   Qt 4 development files
> ii libqt4-gui                   4.2.1-2+etch1   Qt 4 core GUI functionality runtime library
> ii libqt4-qt3support    4.2.1-2+etch1   Qt 3 compatibility library for Qt 4
> ii libqt4-sql                   4.2.1-2+etch1   Qt 4 SQL database module
> ii qt4-dev-tools                4.2.1-2+etch1   Qt 4 development tools
>
>
> what am I doing wrong?
>

Please upgrade to Qt 4.3 and everything will be OK ;-)


Happy new year
Marco

```

## Boaz Harrosh, 2007-12-31 17:47

Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8
Message-ID: <47792B3E.60509@panasas.com>
URL: https://gitlist.dev/e/47792B3E.60509%40panasas.com
In-Reply-To: <e5bfff550712310358g347d883fm9866f328f24e3ad0@mail.gmail.com>

```
On Mon, Dec 31 2007 at 13:58 +0200, "Marco Costalba" <mcostalba@gmail.com> wrote:
> On Dec 31, 2007 11:59 AM, Filippo Zangheri <filippo.zangheri@yahoo.it> wrote:
>> Hi,
>>
>> I git-cloned qgit-2.1 from your repository, then ran `qmake qgit.pro`, but `make` gave me errors.
> 
> Yes, you need qmake of Qt4 not the Qt3 one.
> 
<snip>

A Theoretical question.
Is it possible to compile Qt4 app all statically linked and run it on a Qt3 based KDE
machine. Some thing like the windows installation, where every thing is self-contained?

Thanks
Boaz

```

## Marco Costalba, 2007-12-31 18:07

Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8
Message-ID: <e5bfff550712311007j1cd8223es51b6a59dfb958193@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550712311007j1cd8223es51b6a59dfb958193%40mail.gmail.com
In-Reply-To: <47792B3E.60509@panasas.com>

```
On Dec 31, 2007 6:47 PM, Boaz Harrosh <bharrosh@panasas.com> wrote:
> On Mon, Dec 31 2007 at 13:58 +0200, "Marco Costalba" <mcostalba@gmail.com> wrote:
> > On Dec 31, 2007 11:59 AM, Filippo Zangheri <filippo.zangheri@yahoo.it> wrote:
> >> Hi,
> >>
> >> I git-cloned qgit-2.1 from your repository, then ran `qmake qgit.pro`, but `make` gave me errors.
> >
> > Yes, you need qmake of Qt4 not the Qt3 one.
> >
> <snip>
>
> A Theoretical question.
> Is it possible to compile Qt4 app all statically linked and run it on a Qt3 based KDE
> machine. Some thing like the windows installation, where every thing is self-contained?
>

It's also very practical...I have _only_ KDE 3 installed, not KDE 4 ;-)

I have both Qt4 and Qt3 development (shared) libraries installed and
there is absolutely no compatibility problem, the only thing you have
to remember is when running

qmake qgit.pro

the first time, you need to be sure is the Qt4 qmake, not the Qt3.
Because I have Qt3 qmake in path, not the Qt4 one, I need to
explicitly give the whole path the first time I configure the sources,
something like

/usr/lib/qt4/bin/qmake qgit.pro

Then no other settings are needed, when you call make, the Makefiles
are already built by qmake to search for the correct libraries.


Hope this helps...

Marco

```

## Boaz Harrosh, 2008-01-01 07:55

Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8
Message-ID: <4779F200.1020507@panasas.com>
URL: https://gitlist.dev/e/4779F200.1020507%40panasas.com
In-Reply-To: <e5bfff550712311007j1cd8223es51b6a59dfb958193@mail.gmail.com>

```
On Mon, Dec 31 2007 at 20:07 +0200, "Marco Costalba" <mcostalba@gmail.com> wrote:
> On Dec 31, 2007 6:47 PM, Boaz Harrosh <bharrosh@panasas.com> wrote:
>> On Mon, Dec 31 2007 at 13:58 +0200, "Marco Costalba" <mcostalba@gmail.com> wrote:
>>> On Dec 31, 2007 11:59 AM, Filippo Zangheri <filippo.zangheri@yahoo.it> wrote:
>>>> Hi,
>>>>
>>>> I git-cloned qgit-2.1 from your repository, then ran `qmake qgit.pro`, but `make` gave me errors.
>>> Yes, you need qmake of Qt4 not the Qt3 one.
>>>
>> <snip>
>>
>> A Theoretical question.
>> Is it possible to compile Qt4 app all statically linked and run it on a Qt3 based KDE
>> machine. Some thing like the windows installation, where every thing is self-contained?
>>
> 
> It's also very practical...I have _only_ KDE 3 installed, not KDE 4 ;-)
> 
> I have both Qt4 and Qt3 development (shared) libraries installed and
> there is absolutely no compatibility problem, the only thing you have
> to remember is when running
> 
> qmake qgit.pro
> 
> the first time, you need to be sure is the Qt4 qmake, not the Qt3.
> Because I have Qt3 qmake in path, not the Qt4 one, I need to
> explicitly give the whole path the first time I configure the sources,
> something like
> 
> /usr/lib/qt4/bin/qmake qgit.pro
> 
> Then no other settings are needed, when you call make, the Makefiles
> are already built by qmake to search for the correct libraries.
> 
> 
> Hope this helps...
> 
> Marco

Thanks because of your help I was brave enough to install qt4 and compile qgit.
It works.

We use it a lot here. When the guys make a mess, and you need to figure what
happened than qgit is your only friend. I intend to hack some extra stuff that
we need often.

Boaz

```

## Marco Costalba, 2008-01-01 08:26

Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8
Message-ID: <e5bfff550801010026x62d53b25m2e78a30b4a8b0ee@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550801010026x62d53b25m2e78a30b4a8b0ee%40mail.gmail.com
In-Reply-To: <4779F200.1020507@panasas.com>

```
On Jan 1, 2008 8:55 AM, Boaz Harrosh <bharrosh@panasas.com> wrote:
>
>
> We use it a lot here. When the guys make a mess, and you need to figure what
> happened than qgit is your only friend. I intend to hack some extra stuff that
> we need often.
>

Glad to hear this. Hacking on qgit spans from very easy to nasty,
according to what you hack, in case, please, don't hesitate to write
me for some hints or API clarifications.

Thanks
Marco

```
