threads / announce / 11435

[ANNOUNCE] qgit-2.1 and qgit-1.5.8

Subject: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

## tl;dr

6 messages between Dec 31, 2007 and Jan 1, 2008.

replies: 5people: 3as markdown or json

Marco Costalba· Dec 31, 2007, 07:35 UTC · lore
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· Dec 31, 2007, 11:58 UTC · lore

Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

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.
Show 14 quoted lines
> 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.
Show 16 quoted lines
>
>
>
> 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· Dec 31, 2007, 17:47 UTC · re: Marco Costalba · lore

Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Mon, Dec 31 2007 at 13:58 +0200, "Marco Costalba" <mcostalba@gmail.com> wrote:
Show 7 quoted lines
> 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· Dec 31, 2007, 18:07 UTC · re: Boaz Harrosh · lore

Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Dec 31, 2007 6:47 PM, Boaz Harrosh <bharrosh@panasas.com> wrote:
Show 14 quoted lines
> 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· Jan 1, 2008, 07:55 UTC · re: Marco Costalba · lore

Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Mon, Dec 31 2007 at 20:07 +0200, "Marco Costalba" <mcostalba@gmail.com> wrote:
Show 37 quoted lines
> 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· Jan 1, 2008, 08:26 UTC · re: Boaz Harrosh · lore

Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Jan 1, 2008 8:55 AM, Boaz Harrosh <bharrosh@panasas.com> wrote:
Show 6 quoted lines
>
>
> 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

← back to recent threads