Ask Your Question

Revision history [back]

Integration of Qt with opencv-3.3.0 on ubuntu 14

Hello Everyone,

I am new to linux and Qt. I am facing problem in integrating Qt with opencv-3.3.0 on ubuntu 14.

I followed the procedure provided in the link below. http://rodrigoberriel.com/2014/11/using-opencv-3-qt-creator-3-2-qt-5-3/

once the integration was done. I tested it by writing a imread , imshow program on opencv. There was error of segmentation fault.

cv::Mat inputImage = cv::imread(“{PATH_TO_IMAGE}”); if(!inputImage.empty()) cv::imshow("Display Image", inputImage);

Can anyone help me in figuring out whether the problem is with the integration of Qt with opencv 3.3 or is there a problem with the code.