How to deploy a Qt application including qtprinter?
-
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.
-
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.
-
Hi,
-
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.
-