PDA

View Full Version : QImage



andreahmed
24th August 2010, 15:25
Hi,I'm new to QT, I've written a simple game using it , when I tried to use it on another machine with no QT installed , not all the graphics can be rendered , However it works on my machine.
I'm using QImage for loading Images...
I've put those files with the .exe
QTCore4.dll
QTGUI4.dll
mingwm10.dll
libgcc_s_dw2-1.dll

Lykurg
24th August 2010, 15:29
Let me guess – since you don't write it –: you use jpeg. Then the "How to deploy ..." at the docs. You have to provide the right image plugins alongside your application.

andreahmed
24th August 2010, 15:49
Thanks, Yes I do use jpeg -_-

oob2
24th August 2010, 18:15
goto http://doc.trolltech.com/4.6/deployment-windows.html
and find "Qt Plugins"

andreahmed
24th August 2010, 23:18
Thanks,
I've tried to make a folder called
plugings
and put the jpeg4.dll in it , but it still doesn't show any Images :(

Lykurg
25th August 2010, 07:11
Shouldn't it be called imageformats...