How to embed plugins?
-
hi and welcome
so do you already have a static version of Qt ?
http://dimitris.apeiro.gr/2015/06/24/build-a-static-qt5-for-windows-by-compiling/ -
Hi mrjj.
I'm talking about shared version of Qt. What I want is to build dll version of Qt (MSWin version), with some plugin (jpeg, tiff, png) embedded as built-in, not as external plugins. Is this possible? Why only png library is embedded and not the others? -
Hi
Oh ,
im not sure you can just make the plugins static (not using dlls)
without making whole Qt static linked.
If you are not static linking Qt, u still need all the other Qt dlls, so
why you want to get rid of some few image plugins? if i may ask ? -
In my application I use only four Qt ddls. To reduce the deployment effort, I want to include only a minimal set of library in my setup, and avoid subfolders like plugins\imageformats on the target pc.
What sounds strange to me is the png support in Qt. Why this library is embedded in Qt dll? Isn't possible to do the same with other library? -
In my application I use only four Qt ddls. To reduce the deployment effort, I want to include only a minimal set of library in my setup, and avoid subfolders like plugins\imageformats on the target pc.
What sounds strange to me is the png support in Qt. Why this library is embedded in Qt dll? Isn't possible to do the same with other library?@Mauro177
Ahh. i see.
I think the PNG is embedded as Widgets depends on it for buttons drawing etc.
Sort of the default format. The rest is optional and hence plugins.Im not aware of any way to make them static with a shared version of Qt.
Sorry. I will ask around and see.