2007-12-31 07:42:13

by Marco Costalba

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

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


2007-12-31 11:06:08

by Filippo Zangheri

[permalink] [raw]
Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

Marco Costalba wrote:
> 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

Hi,

I git-cloned qgit-2.1 from your repository, then ran `qmake qgit.pro`, but `make` gave me errors.
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'
../build/ui_customaction.h:70: error: 'class QHBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:71: error: 'class QHBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:76: error: 'class QVBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:77: error: 'class QVBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:78: error: 'class QVBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:79: error: 'class QVBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:93: error: 'class QHBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:94: error: 'class QHBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:95: error: 'class QHBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:96: error: 'class QHBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:101: error: 'class QHBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:102: error: 'class QHBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:103: error: 'class QHBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:104: error: 'class QHBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:158: error: 'class QHBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:159: error: 'class QHBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:160: error: 'class QHBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:161: error: 'class QHBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:166: error: 'class QVBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:167: error: 'class QVBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:168: error: 'class QVBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:169: error: 'class QVBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:192: error: 'class QHBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:193: error: 'class QHBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:194: error: 'class QHBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:195: error: 'class QHBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:200: error: 'class QVBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:201: error: 'class QVBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:202: error: 'class QVBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:203: error: 'class QVBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:219: error: 'class QHBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:220: error: 'class QHBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:221: error: 'class QHBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:222: error: 'class QHBoxLayout' has no member named 'setBottomMargin'
../build/ui_customaction.h:247: error: 'class QHBoxLayout' has no member named 'setLeftMargin'
../build/ui_customaction.h:248: error: 'class QHBoxLayout' has no member named 'setTopMargin'
../build/ui_customaction.h:249: error: 'class QHBoxLayout' has no member named 'setRightMargin'
../build/ui_customaction.h:250: error: 'class QHBoxLayout' has no member named 'setBottomMargin'
make[2]: *** [../build/customactionimpl.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-src-make_default] Error 2



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?


Cheers.


--
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

2007-12-31 11:58:39

by Marco Costalba

[permalink] [raw]
Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Dec 31, 2007 11:59 AM, Filippo Zangheri <[email protected]> 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

2007-12-31 17:47:57

by Boaz Harrosh

[permalink] [raw]
Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Mon, Dec 31 2007 at 13:58 +0200, "Marco Costalba" <[email protected]> wrote:
> On Dec 31, 2007 11:59 AM, Filippo Zangheri <[email protected]> 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

2007-12-31 18:08:01

by Marco Costalba

[permalink] [raw]
Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Dec 31, 2007 6:47 PM, Boaz Harrosh <[email protected]> wrote:
> On Mon, Dec 31 2007 at 13:58 +0200, "Marco Costalba" <[email protected]> wrote:
> > On Dec 31, 2007 11:59 AM, Filippo Zangheri <[email protected]> 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

2008-01-01 07:56:04

by Boaz Harrosh

[permalink] [raw]
Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Mon, Dec 31 2007 at 20:07 +0200, "Marco Costalba" <[email protected]> wrote:
> On Dec 31, 2007 6:47 PM, Boaz Harrosh <[email protected]> wrote:
>> On Mon, Dec 31 2007 at 13:58 +0200, "Marco Costalba" <[email protected]> wrote:
>>> On Dec 31, 2007 11:59 AM, Filippo Zangheri <[email protected]> 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

2008-01-01 08:27:10

by Marco Costalba

[permalink] [raw]
Subject: Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8

On Jan 1, 2008 8:55 AM, Boaz Harrosh <[email protected]> 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