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



On Dec 31, 2007 6:47 PM, Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:
On Mon, Dec 31 2007 at 13:58 +0200, "Marco Costalba" <mcostalba@xxxxxxxxx> wrote:
On Dec 31, 2007 11:59 AM, Filippo Zangheri <filippo.zangheri@xxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8
    ... I git-cloned qgit-2.1 from your repository, then ran `qmake qgit.pro`, but `make` gave me errors. ... Is it possible to compile Qt4 app all statically linked and run it on a Qt3 based KDE ... Some thing like the windows installation, ...
    (Linux-Kernel)
  • Re: [ANNOUNCE] qgit-2.1 and qgit-1.5.8
    ... I git-cloned qgit-2.1 from your repository, then ran `qmake qgit.pro`, but `make` gave me errors. ... A Theoretical question. ... Is it possible to compile Qt4 app all statically linked and run it on a Qt3 based KDE ...
    (Linux-Kernel)
  • Re: Upgrading to QT 4
    ... You can't remove Qt3; a lot of programs need it. ... Figured that deleting Qt3 would cause problems and that substituting Qt4 would not be possible. ... I've tried adding in the path for Qt4 into the .profile script and after logging out and back in found that most applications wouldn't start. ... So I hope you'll just have to use absolute paths when calling qmake, and qmake should figure out the rest. ...
    (alt.os.linux.suse)
  • Re: Upgrading to QT 4
    ... You can't remove Qt3; a lot of programs need it. ... Figured that deleting Qt3 would cause problems and that substituting Qt4 would not be possible. ... Qt3 uses the QTDIR environment variable to find 'moc' and friends. ... So I hope you'll just have to use absolute paths when calling qmake, and qmake should figure out the rest. ...
    (alt.os.linux.suse)
  • Re: Upgrading to QT 4
    ... You can't remove Qt3; a lot of programs need it. ... Figured that deleting Qt3 would cause problems and that substituting Qt4 would not be possible. ... I've tried adding in the path for Qt4 into the .profile script and after logging out and back in found that most applications wouldn't start. ... So I hope you'll just have to use absolute paths when calling qmake, and qmake should figure out the rest. ...
    (alt.os.linux.suse)