Is this considered as a static linking
in the .pro file
in the .cpp and .h files i included the
in the debug and release files i included:
and if it is a static linkung how do i make it dynamic
DLL = Dynamic Link Library
so no its not meant to link statically
thanks a lot,
now i get it
so if i included .a instead of .DLL it becomes a static, right?
no, actually you have to include the .a file in both cases instead of the DLL. The .a file contains the necessary info for the compiler if it's built for static or dynamic linkage.
But you already also had a DLL file so you have a lib linked dynamically.
Also note that the file extension is depending on the compiler and the platform you are building with. I assumed you are using the mingw compiler on windows.