What of "windowsprintersupport.dll" and "qwindowsvistastyle.dll"?
-
Qt 5 required inclusion of "windowsprintersupport.dll" and "qwindowsvistastyle.dll" when building an installer.
Does Qt 6 have an equivalent? What are they called?
Without windowsprintersupport.dll, my Qt 6 version is failing when trying to print.
-
Use windeployqt to gather all required plugins and pack them into your installer.
-
Use windeployqt to gather all required plugins and pack them into your installer.
@Christian-Ehrlicher Thanks for your reply. I ran "windeployqt.exe" and it created the following directories beneath where my EXE was (.\release)
release\generic release\help release\iconengines release\imageformats release\networkinformation release\platforms release\sqldrivers release\styles release\tls release\translations
My installer already creates the platforms, styles, printsupport and imageformats subdirectories for Qt 5. I don't currently create the others, yet the Qt 6 version of the app seems to run (except for printing).
I'm confused about what to do with this output. Do I need to create all the other sub-directories? How come my app runs without them?
What are all the *.qm files in the "translations" subdirectory? I don't have any translations in my app.
What happened to the "printsupport" subdirectory? The Web page describing "Qt 6 for Windows - Deployment" mentions:
"Your application may also depend on one or more Qt plugins, such as the print support plugin"
-
As I already wrote - you have to package all files windeployqt is copying. That's what windeployqt is for...
If you don't need translations you can remove them. -
Well... why is windeployqt adding stuff that I don't need?
Why does the documentation mention "printsupport", yet it doesn't appear in the windeployqt output?
-
Well... why is windeployqt adding stuff that I don't need?
Why does the documentation mention "printsupport", yet it doesn't appear in the windeployqt output?
@Sprezzatura said in What of "windowsprintersupport.dll" and "qwindowsvistastyle.dll"?:
Well... why is windeployqt adding stuff that I don't need?
Because it can't determine if you load these translations or not. The normal app uses translations and therefore also the ones for the Qt libs
Why does the documentation mention "printsupport", yet it doesn't appear in the windeployqt output?
I would guess you don't use it in your app so windeploy knows this and does not deploy it.