Qt-interest Archive, June 2007
Using Mesa3D as OpenGL lib to get an OpenGL Kontext
Message 1 in thread
Dear all,
I would like to use a more up to date version of OpenGL for my Qt-OpenGL
Kontext. Therefore I built the mesa3D OpenGL V1.3 with mesa3D Version 7.0
Unfortunately I am not able to link agains this new library because qt
everytime uses the windows standard opengl32.dll and not my new one.
I also tried to overwrite the windows version of OpenGL 1.1 but it seems
that windows has stored it somewhere in registry because suddenly the file
is restored and my new version is no longer there :(
Another try of myself was to tell cmake to use only my new dll but also this
is not possible as qt tries to link agains the old windows standard...
Could anybody help me out on this nasty problem??
Thank you very much in advance.
Joachim
Message 2 in thread
Joachim Zettler schrieb:
> Dear all,
> ...
> Unfortunately I am not able to link agains this new library because qt
> everytime uses the windows standard opengl32.dll and not my new one.
So you are trying to recompile Qt and make it use your Mesa library, right?
Maybe you could try to change the corresponding qmake.conf file, found
e.g. in %QTDIR%\mkspecs\win32-msvc2005 (or whatever compiler you use).
There's the following entry: QMAKE_LIBS_OPENGL
In my qmake.conf it sais
QMAKE_LIBS_OPENGL = opengl32.lib glu32.lib gdi32.lib user32.lib
Maybe changing this to use the appropriate Mesa libs would help (and
maybe setting the library (linker) paths, too).
Cheers, Oliver
--
[ signature omitted ]
Message 3 in thread
Hi Oliver,
thanks for you answer. I didnt have in mind to recompile the whole Qt again
but it seems that this might be the only solution to my problem as Qt is
already linked against the wrong version during my first compile of qt :(
I will try to change the .conf file and afterwards try to recompile qt once
again :)
I will keep you informed.
With best regards,
Joachim
2007/6/27, Till Oliver Knoll <oliver.knoll@xxxxxxxxxxx>:
>
> Joachim Zettler schrieb:
> > Dear all,
> > ...
> > Unfortunately I am not able to link agains this new library because qt
> > everytime uses the windows standard opengl32.dll and not my new one.
>
> So you are trying to recompile Qt and make it use your Mesa library,
> right?
>
> Maybe you could try to change the corresponding qmake.conf file, found
> e.g. in %QTDIR%\mkspecs\win32-msvc2005 (or whatever compiler you use).
>
> There's the following entry: QMAKE_LIBS_OPENGL
>
> In my qmake.conf it sais
>
> QMAKE_LIBS_OPENGL = opengl32.lib glu32.lib gdi32.lib user32.lib
>
> Maybe changing this to use the appropriate Mesa libs would help (and
> maybe setting the library (linker) paths, too).
>
> Cheers, Oliver
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>