Bug 93041 - kdebindings doesn't recognize --with-qt-includes
Summary: kdebindings doesn't recognize --with-qt-includes
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: 3.0.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 18:43 UTC by Eric Sandall
Modified: 2005-01-19 22:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Sandall 2004-11-10 18:43:07 UTC
Version:           3.3.1 (using KDE KDE 3.3.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.3 march=athlon-xp -mmmx -mfpmath=sse -msse -m3dnow -pipe -DPIC -fPIC -O3 -z combreloc
OS:                Linux

$ /configure --prefix=/usr --with-qt-dir=/usr --with-qt-includes=/usr/include/qt --with-qt-libs=/usr/lib --without-arts --without-mcs
$ TMAKEPATH=/usr/share/tmake/lib/linux-g++ make
(from http://bugs.kde.org/show_bug.cgi?id=90333)

Our qt-x11 includes are in /usr/include/qt, though I've made a symlink /usr/include/qt/include -> /usr/include/qt to try and fix this (by hand-editing Makefile to use /usr/include/qt, but your configure.py script insists on adding /include after qt_dir) I get this error:

Making all in python
make[2]: Entering directory `/usr/src/kdebindings-3.3.1/python'
cd sip && export QTDIR=/usr/include/ && /usr/bin/python configure.py -b /usr/bin -d /usr/lib/python2.3/site-packages -e `echo -I/usr/include/python2.3 | sed s/-I//` -l qt-mt -v /usr/share/sip/
This is SIP 4.0.1 for Python 2.3.4 on linux2.
Error: qglobal.h could not be found in /usr/include//include.
make[2]: *** [sipdone] Error 1
make[2]: Leaving directory `/usr/src/kdebindings-3.3.1/python'
Comment 1 Simon Edwards 2005-01-19 17:37:29 UTC
CVS commit by sedwards: 

BUG: 93041
Fix for "Python bindings don't respect configure's --with-qt-includes parameter".


  M +1 -1      Makefile.am   1.5


--- kdebindings/python/Makefile.am  #1.4:1.5
@@ -22,5 +22,5 @@
 
 sipdone:
-        cd sip && export QTDIR=${qt_dir} && @PYTHON@ configure.py -b @bindir@ -d ${site_packages} -e ${python_inc_dir} -l qt-mt -v ${sip_dir}
+        cd sip && export QTDIR=${qt_dir} && @PYTHON@ configure.py -b @bindir@ -d ${site_packages} -e ${python_inc_dir} -l qt-mt -v ${sip_dir} INCDIR_QT=@qt_includes@
         @(cd sip && $(MAKE))
         echo "" > sipdone


Comment 2 Eric Sandall 2005-01-19 22:53:38 UTC
Fixed, thanks. :)