From: Alexandre Naaman (naaman++at++laplace.engr.sgi.com)
Date: 01/09/2003 17:05:41
On Wed, 8 Jan 2003, Florent Coudret wrote:
Bonjour Florent,
> Hello,
> developing a Qt-Performer based viewer, we're facing an annoying
> redefinition of 'ulong' between both API:
> In include\Performer\wintypes.h, we have:
> typedef unsigned ulong;
> whereas in Qt\include\qglobal.h, we have:
> typedef unsigned long ulong;
> Don't you (SGI gurus...) think the second one should be more correct ?
Yes, I agree. I'll fire off a build with this change and see what happens
...
Note that within libpf (and libpr), there are only two instances of usage
of the ulong type (in pfLists.h and pfWindow.h) so ... you could hack
around this by modifying them and calling our version of ulong something
slightly different.
>
> More generally, do you (or someone else on this mailing-list) have
> experiences/simple examples of combining Performer with Qt library ?
>
I've been playing with a MFC example (which presents the same set of
problems as integrating with Qt) but haven't finished it. Once it gets
completed I'll be sure to let you know. If in the meanwhile you get
something running please send it this way! :)
Thanks for the note,
Alex.
This archive was generated by hypermail 2b29 : Thu Jan 09 2003 - 17:05:45 PST