Load WebKit dll at run time
Hi all,
I would like to understnd if it's possible to load a Qt dll when the executable has already been launched.
This can sound pretty weird, this could save some Mb from the executable to download and let the app start right away.
I don't know if this can be possible, so write the app that will use webkit dll only if available, if not sonload the dll and use it without restarting.
Thanks for any tips on that
Bye
Re: Load WebKit dll at run time
You can load libraries on the fly, but it's hard to use them. See QLibrary.
I'm not sure if this is going to work, but to ease your work you could also create a plugin that is linked against that library. So after you load the library, your can just load the plugin, instead of playing with all that symbol resolution and pointers.
Re: Load WebKit dll at run time
thanks,
yes I did some test with QpluginLoader and it seems to be the right choice.
bye