problem with dll and executable when i use openGL widget
Hello world,
with Qt i use openGL widget to do 3D plot. It's works nice but when i launch the executable i have a ugly mistake message:
http://imageshack.us/photo/my-images...xecutable.jpg/
it's strange because i have put all .dll ... :p
libgcc_s_dw2-1
mingwm10
QtCore4
QtGui4
QtOpenGL4
QtSvg4
Re: problem with dll and executable when i use openGL widget
are all libraries in your PATH?
Re: problem with dll and executable when i use openGL widget
Quote:
Originally Posted by
mcosta
are all libraries in your PATH?
it's the .dll that they are in my path with the executable
Re: problem with dll and executable when i use openGL widget
Here is the error message that appears:
entry point not found for _z5qfreePv QtCore4.dll
I took the file QtCore4.dll in the address:
Code:
C: \ QtSDK \ QtCreator \ bin
can you tell me how to solve this?? (I compile in release mode)
ps: Here is a screenshot of what I have:
http://imageshack.us/photo/my-images/89/mypath.jpg/
Re: problem with dll and executable when i use openGL widget
You are using the wrong ones. Try the ones from C:\QtSDK\Desktop\Qt\4.7.3\mingw\bin
Re: problem with dll and executable when i use openGL widget
thank for your help,
i have test but now i have a problem with Gui4.dll:
http://imageshack.us/photo/my-images/51/test2xa.jpg/
Re: problem with dll and executable when i use openGL widget
Hi
Regarding the image you linked here, it seems your Qt dlls are not exactly from the same build :
Although your core and gui are 4.7.1, your QtOpenGL dll is 4.7.3.
Is it normal ? How did you set up your development environment ?
Re: problem with dll and executable when i use openGL widget
ha! i don't understand why y haven't the same version for openGL...
i use Qt and i just use the QtGLWidget :eek:
=> i don't understand why my Qt don't use the good openGL...
Re: problem with dll and executable when i use openGL widget
That's not the first time ths issue comes in this forum, just make sure you have all the dll from the same directory. Also you can check this treaths to learn more about dll in windows
http://www.qtcentre.org/threads/2660...ase-mode/page2
http://arstechnica.com/microsoft/new...-new-again.ars
The dll's you first use were compiled with MSVC for use in QtCretor, but probably you are using QTSDK, then your programs are compiled with Mingw, so they are incompatible, this can be confusing and cause this type of errors, so just avoid mixing librarys from those different directories
Regards
Joao
Re: problem with dll and executable when i use openGL widget
yes! i have find the problem thank you :-)
i got in:
=> QtSDK/desktop/Qt/4.7.3/mingw/lib
;)