Greetings Damien.
        I also had problems with the Mandrake supplied qt3 when building PyQt.

My solution was to rebuild qt with a modified .spec file and a patch so that 
libqassistantclient.a didn't get stripped.

Patch to qt3.spec and to qt3 attached


On Sun, 6 Apr 2003 01:58 pm, Damien Bateman wrote:
> Hi all,
>
> I've been trying to install PyQt (snapshot-20030326)
> on Mandrake 9.1 for a day or two now. . .

Attachment: pgp00000.pgp
Description: signature

*** qt3.spec	2003-02-25 05:22:04.000000000 +1100
--- qt3-NKR.spec	2003-03-30 10:08:20.000000000 +1000
***************
*** 20,26 ****
  Summary:	Qt3 - Sources
  Name: 		qt3
  Version:	3.1.1
! Release: 	13mdk
  License:	GPL and QPL
  Group:		System/Libraries
  URL:		http://www.troll.no/
--- 20,26 ----
  Summary:	Qt3 - Sources
  Name: 		qt3
  Version:	3.1.1
! Release: 	13mdkNKR
  License:	GPL and QPL
  Group:		System/Libraries
  URL:		http://www.troll.no/
***************
*** 102,107 ****
--- 102,110 ----
  # Laurent - 3.1.1-13mdk - default aa
  Patch16:	qt-3.1-use-aa-by-default.patch.bz2
  
+ # Nigel Rowe - 3.1.1 fix strip, similar to Patch5:
+ Patch99:	qt-3.1.1-fix-strip.patch.bz2
+ 
  Buildroot: 	%_tmppath/%name-%version-%release-root
  
  %if %buildfor8_0
***************
*** 370,375 ****
--- 373,380 ----
  
  %patch16 -p1
  
+ %patch99 -p1
+ 
  %build
  
  export QTDIR=$(/bin/pwd)
***************
*** 414,425 ****
              -plugin-sql-mysql \
              -plugin-sql-odbc \
              -plugin-sql-psql \
- 	    -no-style-cde \
- 	    -no-style-compact \
- 	    -no-style-motif \
- 	    -no-style-platinium \
- 	    -no-style-sgi \
- 	    -no-style-windows \
  	    -thread \
              -stl \
  	    -qt-imgfmt-png \
--- 419,424 ----
***************
*** 432,438 ****
  	    -xinerama \
  	    -xrender \
  	    -xft \
- 	    -no-tablet \
  		-v \
  	    -xkb <<EOF
  yes
--- 431,436 ----
***************
*** 852,857 ****
--- 850,859 ----
  %qtdir/plugins/sqldrivers/libqsqlodbc.so
  
  %changelog
+ * Sun Mar 30 2003 Nigel Rowe <[EMAIL PROTECTED]>
+ - Patch99 - don't stip
+ - build with all styles
+ 
  * Mon Feb 24 2003 Laurent MONTEL <[EMAIL PROTECTED]> 3.1.1-13mdk
  - Add patch13: AA by default
  

Attachment: qt-3.1.1-fix-strip.patch.bz2
Description: BZip2 compressed data

Reply via email to