[PyQt] [PyKDE] One more issue with qt4 includes

2008-03-12 Thread Adeodato Simó
Hey Jim.

I'm having one issue with the generated Makefiles. When using
pykde_includes, it expects to find all those modules with
-I$(opt_kdeincdir)/name, thus for example for Qt includes it results in:

  -I/usr/include/QtCore -I/usr/include/QtNetwork ...

(But, at least in Debian, Qt4 includes are under /usr/include/qt4). I'm
not very sure how to fix this in a portable manner. For now I'll patch
configure.py in the Debian packages.

Talking about patching, did Torsten Marek ever contact you about support
in configure.py for out-of-tree builds? I've adapted his patch against
PyKDE3 as found in Debian's packages to PyKDE4. Would you be interested
in including it?

Cheers,

-- 
Adeodato Simó dato at net.com.org.es
Debian Developer  adeodato at debian.org
 
Man: Wow, that woman looks exactly the way Nina is going to look in
about ten years... Oh shit, it is Nina. Don't tell her what I said, okay?
-- http://www.overheardinnewyork.com/archives/003086.html

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] [PyKDE] One more issue with qt4 includes

2008-03-12 Thread Adeodato Simó
Well, I've now seen in the 4.0.2-1 tarball ChangeLog that says:

  Allow for separate dir for Qt includes in configure.py

But I can't find that option. It would be indeed very handy.

Cheers,

 Hey Jim.

 I'm having one issue with the generated Makefiles. When using
 pykde_includes, it expects to find all those modules with
 -I$(opt_kdeincdir)/name, thus for example for Qt includes it results in:

   -I/usr/include/QtCore -I/usr/include/QtNetwork ...

 (But, at least in Debian, Qt4 includes are under /usr/include/qt4). I'm
 not very sure how to fix this in a portable manner. For now I'll patch
 configure.py in the Debian packages.

 Talking about patching, did Torsten Marek ever contact you about support
 in configure.py for out-of-tree builds? I've adapted his patch against
 PyKDE3 as found in Debian's packages to PyKDE4. Would you be interested
 in including it?

 Cheers,


-- 
Adeodato Simó dato at net.com.org.es
Debian Developer  adeodato at debian.org
 
When all is summed up, a man never speaks of himself without loss; his
accusations of himself are always believed; his praises never.
-- Michel de Montaigne

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] [PyKDE] One more issue with qt4 includes

2008-03-12 Thread Adeodato Simó
* Adeodato Simó [Wed, 12 Mar 2008 14:00:41 +0100]:

 Well, I've now seen in the 4.0.2-1 tarball ChangeLog that says:

   Allow for separate dir for Qt includes in configure.py

 But I can't find that option. It would be indeed very handy.

Ah, I see it's in configure.template, but not in configure.py.

-- 
Adeodato Simó dato at net.com.org.es
Debian Developer  adeodato at debian.org
 
And how do you tell an extroverted mathematician? He looks at *your* shoes
while he's talking to you.

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] [PyKDE] One more issue with qt4 includes

2008-03-12 Thread Jim Bublitz
On Wednesday 12 March 2008 06:00, Adeodato Simó wrote:
 Well, I've now seen in the 4.0.2-1 tarball ChangeLog that says:

   Allow for separate dir for Qt includes in configure.py

 But I can't find that option. It would be indeed very handy.

It should pickup the Qt include directories automatically via 
PyQt4.pyqtconfig.py. There is no option for setting that value in PyKDE4, 
because it should be the same path as in PyQt4.

Let me know if it's not working - I have Qt and KDE includes in the same 
directory, so don't test it.

Jim


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] [PyKDE] One more issue with qt4 includes

2008-03-12 Thread Jim Bublitz
On Wednesday 12 March 2008 09:09, Adeodato Simó wrote:
 * Adeodato Simó [Wed, 12 Mar 2008 14:00:41 +0100]:
  Well, I've now seen in the 4.0.2-1 tarball ChangeLog that says:
 
Allow for separate dir for Qt includes in configure.py
 
  But I can't find that option. It would be indeed very handy.

 Ah, I see it's in configure.template, but not in configure.py.

Arghh! I don't know how that happened.

Attached is a correct configure.py. I'll update the tarball.

Jim


configure.py
Description: application/python
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt