I might be wrong (still new to libraries), but:

My application is both using:

c:\qt\3.1.1Educational\binqt-mtedu311.dll

and

c:\progra~1\opensg\qt-mt301.dll

So my guess is that the qapplication is made (in main.cpp) 'in' the first
dll and classes like OSGQGLWidget are using the second dll. So for these
classes, there is no QApplication-object made yet?

Compiling OpenSG is my last resort, since this is a school project, so I
have to send my own version of OpenSG together with the application.

Thanks a lot for your time,

Peter

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:opensg-users-
> [EMAIL PROTECTED] On Behalf Of Dirk Reiners
> Sent: donderdag 11 maart 2004 16:27
> To: users
> Subject: RE: [Opensg-users] OpenSG and QT/QThread/QTimer
> 
> 
>       Hi Peter,
> 
> On Thu, 2004-03-11 at 08:37, Peter Billen wrote:
> > Ah oops, totally forgot that.
> >
> > I managed to compile and link with QT now, but when I run my app, I get
> the
> > following error:
> >
> > "QPaintDevice: Must construct a QApplication before a QPaintDevice".
> >
> > Do you have an idea what might be wrong? I understand the error, but I
> am
> > creating my QApplication-object before anything else!
> 
> We've seen that before, and AFAIR it has always been a version conflict
> with QT. I'm not sure which version the dailybuild uses right now, but I
> think it's 3.0.6. The quickest solution would be for you to compile your
> own OpenSG, I don't know if anybody else already has a version for QT
> 3.1.1.
> 
> Sorry
> 
>       Dirk
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to