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,
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.