Ask Your Question

Revision history [back]

Solved after many weeks on trying. The linker wants exactly only the libraries listed above, with exactly this order. The libraries can be required more than one time.

Can you help me this the ticket http://answers.opencv.org/question/64885/linking-on-mac-osx/ ???

LIBS += ../../opencv-3.0.0/lib/libopencv_core300.a
LIBS += ../../opencv-3.0.0/lib/libopencv_imgcodecs300.a
LIBS += ../../opencv-3.0.0/lib/libopencv_objdetect300.a
LIBS += ../../opencv-3.0.0/lib/libopencv_imgproc300.a
LIBS += ../../opencv-3.0.0/lib/libopencv_face300.a
LIBS += ../../opencv-3.0.0/lib/libopencv_videoio300.a
LIBS += ../../opencv-3.0.0/lib/libopencv_highgui300.a
LIBS += ../../opencv-3.0.0/lib/libopencv_video300.a
LIBS += ../../opencv-3.0.0/3rdparty/lib/libzlib.a
LIBS += ../../opencv-3.0.0/lib/libopencv_hal300.a
LIBS += ../../opencv-3.0.0/3rdparty/lib/liblibjpeg.a
LIBS += ../../opencv-3.0.0/3rdparty/lib/liblibwebp.a
LIBS += ../../opencv-3.0.0/3rdparty/lib/liblibtiff.a
LIBS += ../../opencv-3.0.0/3rdparty/lib/liblibpng.a
LIBS += ../../opencv-3.0.0/lib/libopencv_core300.a
LIBS += C:\Qt\Qt5.5.0\Tools\mingw492_32\i686-w64-mingw32\lib\libvfw32.a
LIBS += C:\Qt\Qt5.5.0\Tools\mingw492_32\i686-w64-mingw32\lib\libole32.a
LIBS += C:\Qt\Qt5.5.0\Tools\mingw492_32\i686-w64-mingw32\lib\liboleaut32.a
LIBS += C:\Qt\Qt5.5.0\Tools\mingw492_32\i686-w64-mingw32\lib\libuuid.a
LIBS += C:\Qt\Qt5.5.0\Tools\mingw492_32\i686-w64-mingw32\lib\libgdi32.a
LIBS += C:\Qt\Qt5.5.0\Tools\mingw492_32\i686-w64-mingw32\lib\libcomdlg32.a
LIBS += ../../opencv-3.0.0/3rdparty/lib/libzlib.a
LIBS += ../../opencv-3.0.0/lib/libopencv_hal300.a