I have a static Qt build. I am trying to use openCV shared libraries with statically linked Qt and standart c libraries. I couldn'yt figure how to do that.

Here is my .pro fileprofile.PNG


If i compile this code: main_without_cv.PNG

resulting .exe works correctly without asking any .dlls.

But if i use openCV library and compile this code:

with_cv.PNG

resulting .exe asks for both "libopencv_core2410.dll" and other standart libraries like "libgcc_s_dw2-1.dll"

What i want is make it ask only for opencv shared libraries. Any help will be appreciated. Sorry for my bad English.