Icons are not visible when installing Qt application on end user machine(Windows) Why?
-
Closed thread due to duplicate post.
Please follow up in http://developer.qt.nokia.com/forums/viewthread/3909/
Crossposting is not welcome in this forum (as it is in most other sites). Accept the rules - they are well chosen, you will not change them by arguing anyways. If you need explanations: http://lmgtfy.com/?q=crossposting+bad
-
Just merged the two identical threads into one.
-
If you do not have installed the imageformat plugins correctly, your application is not able to display them (nor any other jpeg, png or ico image).
You must maintain the directory hierarchy of the plugins like in the Qt install dir and you might want to add the plugin dir to the library path (use "QCoreApplication::addLibraryPath() ":http://doc.qt.nokia.com/4.7-snapshot/qcoreapplication.html#addLibraryPath).
-
Hello
I deployed today with /plugins/imageformats folder
It works only when I deploy may application exe, main Qt dlls as I mentioned and imageformats folder on windows
Also I looked at Process Monitor output for my application and I see there that my application uses also QtSVG4.dll, QtXML4.dll but I think it is because resources are in xml format...
How can I deploy on MacOS, Ubuntu, Symbian , Maemo?
Thanks
Pavel -
[quote author="Pavel Mazniker" date="1298289603"]Hello
I deployed today with /plugins/imageformats folder
It works only when I deploy may application exe, main Qt dlls as I mentioned and imageformats folder on windows[/quote]Yes. Everyone told you exactly this.
[quote author="Pavel Mazniker" date="1298289603"]Also I looked at Process Monitor output for my application and I see there that my application uses also QtSVG4.dll, QtXML4.dll but I think it is because resources are in xml format...
[/quote]Yes.
[quote author="Pavel Mazniker" date="1298289603"]How can I deploy on MacOS, Ubuntu, Symbian , Maemo?
Thanks
Pavel[/quote]Read the docs, search the forum and wiki, ask google and come back with actual questions.
For OS X: the docs provide sufficient information.
For Ubuntu: create a deb.
For Symbian, Maemo: have a look at forum nokia and the docs for the respective platform.
-
Thank you all
I succeed to deploy on Win7 using your advices
I currently work on deploying to another platforms
creating .sis installerhttp://realvirtualdevelopment.co.nr
Pavel
-
Hi, I'm sorry to bring up this old topic.
I had the same problem and thanks to this thread I've fixed my icons. :)
However I need to know if there is a way to determine which plugins EXACTLY does my application require, so i don't have to include all the plugins in my installation package?
Thank you in advance! -
The project is HUGE and I can not determine if everything works the way you are suggesting. And there should definitely be a more "intelligent" way. :)
I wanted to know if there are some kind of dependencies records, where I can check on which plugins depends my program...