I came through terms dynamic and static compiling in Qt. Could some one explain the difference and how there are done in practice.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
The dynamic version is just a standard dll, i.e.
Second, specify that you are compiling a 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…