How to embed plugins?
I want to include some plugins (the imageformat plugins) as built-in modules in my build of Qt.
How can I do this?
hi and welcome
so do you already have a static version of Qt ?
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?
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?
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.
Hi and welcome to devnet,
AFAIK, @mrjj is right, only png is builtin. What other plugins are you interested in ?