Project compiling me in dynamic no static
-
Hi,
The upload feature of the forum is broken. You should upload your image to an image sharing site and post the link here.
-
-
You are trying to link a library that has been linked to the static version of the Visual Studio runtime with something that is not.
Since you wrote that you built that library yourself, you should do it again but link with the dynamic VS runtime.
-
You are trying to link a library that has been linked to the static version of the Visual Studio runtime with something that is not.
Since you wrote that you built that library yourself, you should do it again but link with the dynamic VS runtime.
-
in other projects i can do static build.
However in the other show me this:
https://i.imgsafe.org/5c2a726da5.jpgWhy? So in other words i am using qt static build and library is static which is the problem-'
-
On Windows you have 4 possibilities:
- Dynamic build with dynamic runtime
- Dynamic build with static runtime
- Static build with dynamic runtime
- Static build with static runtime
You are using number 4 for your library while Qt using number 1. You can mix and match static and dynamic libraries as long as you are linking to the same runtime type.
In your case, what you have to do is use number 3 for your library.