Re: Qt module doesn't like having QTDIR set

Adriaan de Groot <[email protected]> Wed, 18 Jan 2006 13:47:19 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
--nextPart1417155.Bcy6FyU5gP
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 18 January 2006 10:13, Aschwin Marsman wrote:
> On Tue, 17 Jan 2006, Bram Moolenaar wrote:
> > Adriaan de Groot wrote:
> > > Since noone ever uses the Qt module, weird-ass logic errors stay in it
> > > for a long time. Now that I'm pushing AAP along with KPilot, it gets

> > QTDIR =3D `os.environ.get("QTDIR")`
> > @if not QTDIR:
> >   @for dir in ['/usr/X11R6', '/usr', '/usr/local']:
>
> On SUSE 10.0 I find qglobal.h in the following locations:
> $ locate qglobal.h
> /usr/include/Qt/qglobal.h
> /usr/include/QtCore/qglobal.h
> /usr/lib/qt3/include/qglobal.h
>
> Does the Qt module already Support Qt 4.x? Then the search is incorrect,
> see above. I think it currently supports Qt 3.x. In that case /usr/lib/qt=
3/
> should be added to the search path.

No, it does not support Qt4 -- I suppose there will be a qt4 module eventua=
lly=20
(for one thing, the names of libraries has changed so much, it's hard to=20
mix). As for adding /usr/lib/qt3 to the search path, that would result in=20
QTDIR set to /usr/lib/qt3, which breaks finding the tools in $QTDIR/bin and=
=20
the libraries in $QTDIR/lib (or is that where they live? I never cease to b=
e=20
amazed by the contortions Linux distros put themselves through).  Right now=
=20
the Qt and KDE modules assume that things are installed in a prefix, the wa=
y=20
they were intended to be.



=2D-=20
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot

--nextPart1417155.Bcy6FyU5gP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBDzjjXdqzuAf6io/4RAjyzAJ9l6ZhTcRIhvMC+oCfNONlfbdHGIgCfazmc
lNxTlrP3gyAJeLnWPmAONq8=
=/O8C
-----END PGP SIGNATURE-----

--nextPart1417155.Bcy6FyU5gP--


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642