Am Don, 07 Sep 2000 schrieben Sie:
> v2.0pre1 is in the usual place at
> http://www.river-bank.demon.co.uk/software/private.
> 
> - Fully updated for Qt v2.2 (including QTable and QCanvas).
> - Supports Python v1.6.
> - Windows support (source only at the moment, binaries with the final
> v2.0 release).
> - Qt Designer support.
> 
> Things to watch out for...
> 
> - The change to enums.
> - Things are installed in site-packages if it exists. This means that
> any old installation will not get overwritten so you *must* remove the
> old installation manually.
> 
> Bug reports quickly please - I want to get this out asap.

Hi Phil,

me again, I have a little problem with sip-2.0 and friends. ;-)

the problem is that I have installed qt-devel AND qt2-devel on standard
Mandrake and RedHat systems. qt-devel installs the headers in /usr/include/qt.
The headers of QT2.2 are installed in /usr/lib/qt2/include.

These are standard RPMS from these distributions.

My $QTDIR is set to /usr/lib/qt2.

when doing configure in sip-2.0 it detects

QT moc          /usr/lib/qt2/bin/moc    (correct)
QT includes     /usr/include/qt         (wrong, this is QT 1.44 not QT 2.2)
                                        (must be /usr/lib/qt2/include)
QT libraries    /usr/lib/qt2/lib                (correct)

the appended patch makes it correct and is IMO the right solution for this.


Greetings,
Michael
-- 
Michael Koch

german KDE enthusiast and developer         KDE makes UNIX ready for the desktop
email: [EMAIL PROTECTED]                        Please visit: http://www.kde.org
[EMAIL PROTECTED]                                              http://www.koffice.org
homepage: http://130.83.19.1/~mkoch                          http://www.ksql.org
--- configure.in.old    Sat Sep  9 15:38:26 2000
+++ configure.in        Sat Sep  9 15:40:12 2000
@@ -131,12 +131,14 @@
        then
                qt_incdirs=$with_qt_includes
        else
-               qt_incdirs=$sip_extra_qt_inc_dirs
+               qt_incdirs=""
 
                for d in $sip_qt_dirs
                do
                        qt_incdirs="$qt_incdirs $d/include"
                done
+               
+               qt_incdirs="$qt_incdirs $sip_extra_qt_inc_dirs"
        fi
 
        for d in $qt_incdirs
@@ -170,12 +172,14 @@
        then
                qt_libdirs=$with_qt_libraries
        else
-               qt_libdirs=$sip_extra_qt_lib_dirs
+               qt_libdirs=""
 
                for d in $sip_qt_dirs
                do
                        qt_libdirs="$qt_libdirs $d/lib"
                done
+
+               qt_libdirs="$qt_libdir $sip_extra_qt_lib_dirs"
        fi
 
        for d in $qt_libdirs

Reply via email to