The bug occurs because Qt 5 is installed before the installation of Open CV. First uninstall Qt 5 then, Folow the folowing steps to install Open CV: >>sudo apt-get update >>sudo apt-get upgrade
Install the dependencies >>sudo apt-get install build-essential libgtk2.0-dev libjpeg-dev libtiff4-dev >>libjasper-dev libopenexr-dev cmake python-dev python-numpy python-tk >>libtbb-dev libeigen3-dev yasm libfaac-dev libopencore-amrnb-dev >>libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev >>libqt4-dev libqt4-opengl-dev sphinx-common texlive-latex-extra libv4l-dev >>libdc1394-22-dev libavcodec-dev libavformat-dev libswscale-dev default-jdk >>ant libvtk5-qt4-dev >>cd ~ >>wget >>http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip >>unzip opencv-2.4.9.zip >>cd opencv-2.4.9 >>mkdir build >>cd build >>cmake -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D >>INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D >>WITH_QT=ON -D WITH_OPENGL=ON -D WITH_VTK=ON .. >>make >>sudo make install ** Attachment added: "solution" https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/1516493/+attachment/4519914/+files/solution -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1516493 Title: Qt configuration error while installing opencv To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/1516493/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
