http://qs1969.pair.com?node_id=127315


in reply to QT 2.3.0 Bindings

I found this patch on Usenet that fixes the PerlQt-2.105 distribution to compile for Qt2. I had to also make some manual changes to Makefile.PL to point it to the correct libs/includes for Qt2, since I had both versions 1.44 and 2.2.1 installed.
diff -uNr PerlQt-2.105/Makefile.PL PerlQt-patched/Makefile.PL --- PerlQt-2.105/Makefile.PL Tue Mar 7 05:58:24 2000 +++ PerlQt-patched/Makefile.PL Sun Aug 13 14:32:12 2000 @@ -23,10 +23,10 @@ $win32 = 1 if $OS =~ /Win/; -$MAKE = 'Qt-1.4'; +#$MAKE = 'Qt-1.4'; # If you want to compile using Qt-2.0, uncomment the next line -#$MAKE = 'Qt-2.0'; +$MAKE = 'Qt-2.0'; $ENV{QTDIR} = $win32 ? "C:\\Qt" : '/usr/lib/qt' unless $ENV{QTDIR}; diff -uNr PerlQt-2.105/Qt-2.0/Qt.pig PerlQt-patched/Qt-2.0/Qt.pig --- PerlQt-2.105/Qt-2.0/Qt.pig Tue Mar 7 01:28:43 2000 +++ PerlQt-patched/Qt-2.0/Qt.pig Tue Aug 15 21:28:15 2000 @@ -36,12 +36,6 @@ WState_AutoMask, WState_Polished, WState_DND, - WState_USPositionX, - WState_PaletteSet, - WState_PaletteFixed, - WState_FontSet, - WState_FontFixed, - WState_Withdrawn }; enum WidgetFlags { WType_TopLevel, @@ -62,8 +56,6 @@ WStyle_Tool, WStyle_StaysOnTop, WStyle_Dialog, - WStyle_Reserved2, - WStyle_Reserved3, WStyle_Mask, WDestructiveClose,

Replies are listed 'Best First'.
Re: Re: QT 2.3.0 Bindings
by awwaiid (Friar) on Nov 30, 2001 at 14:42 UTC

    Nice. Now we need someone to upgrade and maintain the package. Not-it!

    --Brock