I came through terms dynamic and static compiling in Qt. Could some one explain the difference and how there are done in practice.
First thing, you need to compile the dynamic plugin as a dll and the static plugin as a static library.
So for the static add something like this to your project file
CONFIG *= staticlib #
The dynamic version is just a standard dll, i.e.
CONFIG *= dll
Second, specify that you are compiling a plugin:
CONFIG *= qt plugin
So what's the difference between those two?
I prefer 2. because it gives you more control over your build environment and makes the app deployment less buggy...