Then your plugin is still not at the right position. When I remember right, the folder imageformats also have to be in a folder called plugins or you set a custom plugin path in your application.
Then your plugin is still not at the right position. When I remember right, the folder imageformats also have to be in a folder called plugins or you set a custom plugin path in your application.
The forlder imageformats is in qt\bin.
there is nothing mentioned about plugins.
in my project file, i tried QTPLUGINS += qjpeg.
the QTPLUGINS did not highlight, nor did doing this have the images displayed.
Not on my machine, and you never know what extra paths Qt sets internally. But you have to create the directory plugins for your application, unless you set a custom path.
There is: /path/to/Qt/qt/plugins. You probably using the wrong libraries. You have to take the libraries from the subdirectory qt! The bin in the root directory is only for creator.there is nothing mentioned about plugins.
See http://doc.trolltech.com/4.6/deployment-windows.html!
It is called QTPLUGIN and it is only for static plugins. So you don't need it.in my project file, i tried QTPLUGINS += qjpeg.
the QTPLUGINS did not highlight, nor did doing this have the images displayed.
aash_89 (26th July 2010)
Thank you!!!
That was the mistake i was doing.
I was taking it from bin.
Now i copied it from the qt sub folder it works! Thank you!
In this was of including dynamic libraries, is it possible to have it work on other OS too?
what is the advantage of building qt statically and then doing the deployment?
Check the wiki here, the pros and cons section
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
Bookmarks