Qt configuration error while installing opencv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opencv (Ubuntu) |
Confirmed
|
Undecided
|
Anushree |
Bug Description
Could not find a package configuration file provided by "Qt5Concurrent"
with any of the following names:
Qt5Concurre
qt5concurre
Add the installation prefix of "Qt5Concurrent" to CMAKE_PREFIX_PATH or set
"Qt5Concurren
"Qt5Concurrent" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.
qmake: could not exec '/usr/lib/
CMake Error at /usr/share/
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
cmake/
CMakeLists.
-- Configuring incomplete, errors occurred!
Changed in opencv (Ubuntu): | |
assignee: | nobody → Anushree (anushrivb) |
status: | New → In Progress |
tags: | removed: patch |
Changed in opencv (Ubuntu): | |
status: | In Progress → Confirmed |
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 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
>>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-
>>cd ~ sourceforge. net/projects/ opencvlibrary/ files/opencv- unix/2. 4.9/opencv- 2.4.9.zip
>>wget http://
>>unzip opencv-2.4.9.zip
>>cd opencv-2.4.9
>>mkdir build 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 ..
>>cd build
>>cmake -D WITH_TBB=ON -D BUILD_NEW_
>>make
>>sudo make install