[SOLVED] availablePrinters() returns list only from Creator
I'm using Qt5.0.1, under Windows XP. I want to retrieve the list of available printers using QPrinterInfo::availablePrinters(). When I run the app from Qt Creator - it shows the list. When I move the application to a separate folder together with all dll libraries (deploy folder) - the list returned by this function is empty.
Any hints why could this happen and how could it be solved?
Thanks in advance!
Did u use Dependency walker?
Nope. Actually I tried it. When I open the exe file from Release dir (where are no any dll's yet, I see this - http://d.pr/i/DLyO). I copied all libraries from the appropriate place and the app is running with no errors, the only difference is that availablePrinters() still shows an empty list. Any ideas?
Seems like the issue was fixed.
http://stackoverflow.com/questions/17175398/deployed-qt5-application-doesnt-print-or-show-print-dialog - that helped.