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 Touch seeded packages, which is subscribed to opencv in Ubuntu. https://bugs.launchpad.net/bugs/1516493 Title: Qt configuration error while installing opencv Status in opencv package in Ubuntu: In Progress Bug description: Could not find a package configuration file provided by "Qt5Concurrent" with any of the following names: Qt5ConcurrentConfig.cmake qt5concurrent-config.cmake Add the installation prefix of "Qt5Concurrent" to CMAKE_PREFIX_PATH or set "Qt5Concurrent_DIR" to a directory containing one of the above files. If "Qt5Concurrent" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:466 (include) qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory CMake Error at /usr/share/cmake-3.2/Modules/FindQt4.cmake:1326 (message): Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x Call Stack (most recent call first): cmake/OpenCVFindLibsGUI.cmake:34 (find_package) CMakeLists.txt:466 (include) -- Configuring incomplete, errors occurred! To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/1516493/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

