Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, January 2007
OpenGL with Qt4 crashes, but not standard OpenGL


Message 1 in thread

Hi,

I have a concern with Qt 4 and Fedora Core 5.  I'm porting an 
application from GLUT to Qt4, and the program that runs fine on Windows 
crashes with Linux in libGLCore from nVidia. Furthermore, none of the 
Qt4 examples runs, they all crash - Segmentation Fault -. The intriguing 
part is that with GLUT, the program did not crash !
I don't know if this is really a Qt4 problem or a configuration problem, 
but as the crashs occur only with Qt... Can it be that the Qt4 openGL 
library must be compiled on my box ?

Matthieu

--
 [ signature omitted ] 

Message 2 in thread

Matthieu Brucher wrote:

> I have a concern with Qt 4 and Fedora Core 5.  I'm porting an
> application from GLUT to Qt4, and the program that runs fine on Windows
> crashes with Linux in libGLCore from nVidia. 

Or an nVidia bug.

-- Rex

--
 [ signature omitted ] 

Message 3 in thread

Rex Dieter wrote:

> Matthieu Brucher wrote:
> 
>> I have a concern with Qt 4 and Fedora Core 5.  I'm porting an
>> application from GLUT to Qt4, and the program that runs fine on Windows
>> crashes with Linux in libGLCore from nVidia.
> 
> Or an nVidia bug.

In particular, can you duplicate the problem when *not* using the
closed-source/binary nVidia driver?

-- Rex

--
 [ signature omitted ] 

Message 4 in thread

Rex Dieter wrote:
> Rex Dieter wrote:
> 
>> Matthieu Brucher wrote:
>>
>>> I have a concern with Qt 4 and Fedora Core 5.  I'm porting an
>>> application from GLUT to Qt4, and the program that runs fine on Windows
>>> crashes with Linux in libGLCore from nVidia.
>> Or an nVidia bug.
> 
> In particular, can you duplicate the problem when *not* using the
> closed-source/binary nVidia driver?

Not for the moment as I have to wait for several tests to complete, and 
each takes some days to end... But I'll certainly try as soon as I can !

Matthieu

--
 [ signature omitted ] 

Message 5 in thread

2007/1/4, Matthieu Brucher <matthieu.brucher@xxxxxxxxxx>:
> Lisandro Damián Nicanor Pérez Meyer wrote:
> > 2007/1/4, Matthieu Brucher <matthieu.brucher@xxxxxxxxxx>:
> >> Hi,
> >>
> >> I have a concern with Qt 4 and Fedora Core 5.  I'm porting an
> >> application from GLUT to Qt4, and the program that runs fine on Windows
> >> crashes with Linux in libGLCore from nVidia. Furthermore, none of the
> >> Qt4 examples runs, they all crash - Segmentation Fault -. The intriguing
> >> part is that with GLUT, the program did not crash !
> >> I don't know if this is really a Qt4 problem or a configuration problem,
> >> but as the crashs occur only with Qt... Can it be that the Qt4 openGL
> >> library must be compiled on my box ?
> >
> > ¿Have you tried to load Qt's examples from a console and see if
> > there's some output?
> > I'm developing a Qt OGL app with an nvidia card but from a Debian box,
> > and I didn't have those problems.
> >
> > My two cents, Damian.-
>
> I did try, as I saw that there was a segmentation fault. I suppose too
> that the probem is somewhere on my specific configuration, but I can't
> think of a solution.

Have you used any soft compiled by hand? I mean, not packaged for your distro?


> Thanks for telling me that they work on your computer ;)

Sorry, I meant that the problem should be in the setup of your
machine's soft, and (possibly) not in the video card's driver. Please,
take no offense, I'm not an english native speaker (I'm from
argentina). Et mon francais c'est horrible ;-)

Regards, Damian.-

-- 
 [ signature omitted ] 

Message 6 in thread

>> I did try, as I saw that there was a segmentation fault. I suppose too
>> that the probem is somewhere on my specific configuration, but I can't
>> think of a solution.
> 
> Have you used any soft compiled by hand? I mean, not packaged for your 
> distro?

No, everything is pre-packaged, I only use a nVidia driver not present 
on the official repository, but on fedoracorefaq :(

>> Thanks for telling me that they work on your computer ;)
> 
> Sorry, I meant that the problem should be in the setup of your
> machine's soft, and (possibly) not in the video card's driver. Please,
> take no offense, I'm not an english native speaker (I'm from
> argentina). Et mon francais c'est horrible ;-)

I didn't take any offense, I know with your answer that you have not 
that peculiar problem, so it should be on my side ;) I'll have to ckeck 
one way or another...

Matthieu

--
 [ signature omitted ]