Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: QT 2.3.0 Bindings

by awwaiid (Friar)
on May 06, 2001 at 00:34 UTC ( #78285=note: print w/replies, xml ) Need Help??

in reply to Re: QT 2.3.0 Bindings
in thread QT 2.3.0 Bindings

The bindings on CPAN claim to work for qt-2.0 - you have to change the Makefile.PL, but it appears to be a supported feature. I recently installed qt-2.3. Do you know if there are once again major changes, or if perhaps I just didn't compile QT for compatability?

When compiling PerlQT for qt-2.0 it got really far in the compilation process, which made me hopefull.

Replies are listed 'Best First'.
Re: Re: Re: QT 2.3.0 Bindings
by perlmonkey (Hermit) on May 07, 2001 at 00:40 UTC
    I just played with it again and got it working with my Qt-2.2.2, so I assume it will work with qt-2.3.0 also. To get it to work you have to uncomment out the $MAKE = 'Qt-2.0'; line in the Makefile.PL. Then it did not fully compile for me caused by some missing symbols from $QTDIR/include/qnamespace.h. My errors were:
    pig_Qt.c:355: `WState_FontFixed' is not a member of type `Qt' pig_Qt.c:356: `WState_FontSet' is not a member of type `Qt' pig_Qt.c:361: `WState_PaletteFixed' is not a member of type `Qt' pig_Qt.c:362: `WState_PaletteSet' is not a member of type `Qt' pig_Qt.c:366: `WState_USPositionX' is not a member of type `Qt' pig_Qt.c:368: `WState_Withdrawn' is not a member of type `Qt' pig_Qt.c:378: `WStyle_Reserved2' is not a member of type `Qt' pig_Qt.c:379: `WStyle_Reserved3' is not a member of type `Qt' gmake: *** [pig_Qt.o] Error 1
    To fix these I just had to go into pig_Qt.c and comment out the lines with the missing sybmols listed above. Afterthat, it finished the compile. I did the make install. Then I ran through every one of the tutorial programs in the tutorials-2.0 directory and they all worked perfectly.
    So, delightfully, I was wrong, the author apparently had it working for at least some version so qt-2.x and hopefully it should not take too much tweaking to get your version to work.
    Good luck.

      Awesome! Thats exactly what I wanted to hear -- I was on my way to start doing some commenting before deciding to seek advice here, in fact. Good job :)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://78285]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-11-29 07:23 GMT
Find Nodes?
    Voting Booth?