Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to deploy a Qt application including qtprinter?
Squeleton01 last edited by Squeleton01
Hi i'm trying to deploy my qt application that implement QtPrinter, but after having pasted all the .dll I had to for it to work, the .exe doesn't work and the message
"The Procedure entry point ??0QPrinter@@W4PrinterMode@0@@Z could not be located in the dynamic link library"
than the link to my project executable.
Does anyone has an idea how to correct this error?
You fetched the wrong QtPrintSupport dll. Use windeployqt to make sure to have all needed dlls (and plugins) deployed.
Squeleton01 last edited by
I actually used windeployqt but it still made that error for me
Make sure it's picking the correct libraries - looks like you've more than one Qt installation around.
MrShawn last edited by
Make sure Qt5PrintSupport.dll is in the executable's directory. (For me I find this dll in C:\Qt\5.10.0\mingw53_32\bin)
Copy the printsupport FOLDER into the application directory. (For me I find the folder in C:\Qt\5.10.0\mingw53_32\plugins)
That is what works for me. I hope it helps.