Problem getting during Build the project
-
I am getting below error during build when I to display the image using cv::imshow() function
Opencv 4.0
Qt vesion 5.10/usr/local/lib/libopencv_highgui.so: undefined reference to
QString::toUtf8_helper(QString const&)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QGraphicsView::viewportEvent(QEvent*)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQAbstractSlider::value() const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QBezier::bounds() const@Qt_5_PRIVATE_API'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQRegularExpression::~QRegularExpression()@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QGraphicsView::showEvent(QShowEvent*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toqvsnprintf(char*, unsigned long, char const*, __va_list_tag*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QPen::QPen(QColor const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toqrand()@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
qEnvironmentVariableIntValue(char const*, bool*)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::metaObject() const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
typeinfo for QWidgetPrivate@Qt_5_PRIVATE_API'
/usr/local/lib/libopencv_highgui.so: undefined reference tonon-virtual thunk to QBoxLayout::heightForWidth(int) const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QVariant::toString() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQByteArray::append(char)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QBoxLayout::addLayout(QLayout*, int)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQCheckBox::checkStateSet()@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QImage::hasAlphaChannel() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::windowTitle() const@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
qsnprintf(char*, unsigned long, char const*, ...)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference totypeinfo for QPaintEngineExPrivate@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QString::toLocal8Bit_helper(QChar const*, int)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toqTriangulate(QVectorPath const&, QTransform const&, double, bool)@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
typeinfo for QPaintDevice@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQFont::QFont(QFont const&)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QByteArray::mid(int, int) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::showNormal()@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QAbstractScrollArea::viewport() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQtPrivate::ResultStoreBase::filterMode() const@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QMetaType::typeName(int)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQWidget::QWidget(QWidgetPrivate&, QWidget*, QFlags<Qt::WindowType>)@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QElapsedTimer::start()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQSurfaceFormat::setDepthBufferSize(int)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QTransform::map(QPointF const&) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQObject::setObjectName(QString const&)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QAbstractScrollArea::eventFilter(QObject*, QEvent*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQPaintEngineExPrivate::~QPaintEngineExPrivate()@Qt_5_PRIVATE_API' /usr/local/lib/libopencv_highgui.so: undefined reference to
QWaitCondition::QWaitCondition()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQPaintEngineEx::drawRects(QRectF const*, int)@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QImageTextureGlyphCache::createTextureData(int, int)@Qt_5_PRIVATE_API'
/usr/local/lib/libopencv_highgui.so: undefined reference toQTimer::start(int)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QRadioButton::sizeHint() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQString::operator=(QString const&)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QFile::~QFile()@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQGraphicsView::qt_metacast(char const*)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
qstrdup(char const*)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQIcon::QIcon(QString const&)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QRadioButton::staticMetaObject@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQBoxLayout::minimumSize() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QMutex::lock()@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQDir::mkpath(QString const&) const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QApplication::QApplication(int&, char**, int)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference tohex(QTextStream&)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QFileInfo::path() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQRadioButton::hitButton(QPoint const&) const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QVariant::~QVariant()@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toqEnvironmentVariableIsSet(char const*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QWidget::setFocusPolicy(Qt::FocusPolicy)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQGradient::stops() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QAbstractSlider::setPageStep(int)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQImageTextureGlyphCache::resizeTextureData(int, int)@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QOpenGLFunctions::openGLFeatures() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQOpenGLContext::defaultFramebufferObject() const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
typeinfo for QGraphicsEffectPrivate@Qt_5_PRIVATE_API'
/usr/local/lib/libopencv_highgui.so: undefined reference totypeinfo for QCheckBox@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QString::chop(int)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQObject::objectName() const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QImagePixmapCleanupHooks::addPlatformPixmapDestructionHook(void ()(QPlatformPixmap))@Qt_5_PRIVATE_API'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQAbstractConcatenable::appendLatin1To(char const*, int, QChar*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QWidget::testAttribute_helper(Qt::WidgetAttribute) const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQThreadStorageData::get() const@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QFileInfo::isDir() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQAbstractButton::text() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QCheckBox::paintEvent(QPaintEvent*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQOpenGLContext::versionFunctions(QOpenGLVersionProfile const&) const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QColor::redF() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQImage::setDevicePixelRatio(double)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QBezier::fromPoints(QPointF const&, QPointF const&, QPointF const&, QPointF const&)@Qt_5_PRIVATE_API'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQRadialGradient::centerRadius() const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
vtable for QFontEngineGlyphCache@Qt_5_PRIVATE_API'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQImagePixmapCleanupHooks::addImageHook(void (*)(long long))@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QSysInfo::productType()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQSurfaceFormat::setStencilBufferSize(int)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QFutureInterfaceBase::queryState(QFutureInterfaceBase::State) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference totypeinfo for QException@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QSurfaceFormat::~QSurfaceFormat()@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQSysInfo::productVersion()@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QVariant::QVariant(QSize const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQString::operator==(QLatin1String) const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QBrush::QBrush(QColor const&, Qt::BrushStyle)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQImage::scaled(QSize const&, Qt::AspectRatioMode, Qt::TransformationMode) const@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QProcess::readAllStandardError()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQThreadStorageData::QThreadStorageData(void (*)(void*))@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QString::toLatin1_helper(QString const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toqVersion@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QThread::QThread(QObject*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQImage::QImage(QImage const&)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QFile::open(QFlagsQIODevice::OpenModeFlag)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference tovtable for QImage@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QSurfaceFormat::setStereo(bool)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQObject::childEvent(QChildEvent*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QColor::rgba() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQMetaObject::Connection::~Connection()@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QTransform::QTransform(double, double, double, double, double, double)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQDirIterator::fileInfo() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QPen::~QPen()@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQAbstractButton::timerEvent(QTimerEvent*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QWidget::sharedPainter() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQSurfaceFormat::setProfile(QSurfaceFormat::OpenGLContextProfile)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
non-virtual thunk to QBoxLayout::minimumHeightForWidth(int) const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toqtVectorPathForPath(QPainterPath const&)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QBrush::gradient() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQPaintEngine::systemClip() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QHBoxLayout::qt_metacast(char const*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQDashedStrokeProcessor::QDashedStrokeProcessor()@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QDirIterator::hasNext() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQTransform::map(double, double, double*, double*) const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QRegion::end() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference tonon-virtual thunk to QBoxLayout::expandingDirections() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QObject::staticMetaObject@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQVariant::QVariant(QRegularExpression const&)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QWidget::contextMenuEvent(QContextMenuEvent*)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQPixmap::save(QString const&, char const*, int) const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QVectorPath::addCacheData(QPaintEngineEx*, void*, void ()(QPaintEngineEx, void*)) const@Qt_5_PRIVATE_API'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQGradient::interpolationMode() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QListData::shared_null@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::hide()@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QImage::format() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQSlider::QSlider(Qt::Orientation, QWidget*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QWindow::create()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQImage::scanLine(int)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QDir::absoluteFilePath(QString const&) const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQTriangulatingStroker::process(QVectorPath const&, QPen const&, QRectF const&, QFlags<QPainter::RenderHint>)@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QSurfaceFormat::setOption(QSurfaceFormat::FormatOption, bool)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQString::toLatin1_helper_inplace(QString&)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QOpenGLSharedResource::QOpenGLSharedResource(QOpenGLContextGroup*)@Qt_5_PRIVATE_API'
/usr/local/lib/libopencv_highgui.so: undefined reference toQCoreApplication::applicationFilePath()@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
qt_register_signal_spy_callbacks(QSignalSpyCallbackSet const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference totypeinfo for QPainterState@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QWindow::setSurfaceType(QSurface::SurfaceType)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQOpenGLContext::openGLModuleType()@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QFile::QFile()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQOpenGLContext::shareContext() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QWidget::focusOutEvent(QFocusEvent*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQImage::bytesPerLine() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QCursor::QCursor(Qt::CursorShape)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQByteArray::append(char const*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QHBoxLayout::QHBoxLayout()@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQLayout::isEmpty() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QBoxLayout::itemAt(int) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQAbstractButton::focusOutEvent(QFocusEvent*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QRegion::begin() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQEventLoop::exit(int)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QByteArray::startsWith(char) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQPainter::setBrush(QBrush const&)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QGraphicsView::dropEvent(QDropEvent*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QMapDataBase::freeData(QMapDataBase*)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQThreadPool::start(QRunnable*, int)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QFutureInterfaceBase::refT() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQPainter::paintEngine() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QPixmap::QPixmap(QSize const&)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::setLayout(QLayout*)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QCoreApplication::applicationDirPath()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQPaintEngineEx::fillRect(QRectF const&, QBrush const&)@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QRegularExpressionMatch::hasMatch() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQPaintEngineEx::drawRects(QRect const*, int)@Qt_5_PRIVATE_API' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QRegularExpressionMatch::~QRegularExpressionMatch()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQPaintDevice::initPainter(QPainter*) const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QBrush::QBrush(QBrush const&)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQPushButton::focusOutEvent(QFocusEvent*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QWindow::devicePixelRatio() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQPaintEngineEx::clip(QPainterPath const&, Qt::ClipOperation)@Qt_5_PRIVATE_API' /usr/local/lib/libopencv_highgui.so: undefined reference to
QAction::QAction(QIcon const&, QString const&, QObject*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQTemporaryDir::QTemporaryDir()@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QVariant::toRegularExpression() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQSurfaceFormat::setRedBufferSize(int)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QByteArray::split(char) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toqUnregisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QFutureInterfaceBase::reportException(QException const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toqt_widget_private(QWidget*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QVariant::toPoint() const@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQTemporaryDir::isValid() const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QPainterPath::addRegion(QRegion const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQWidget::setAutoFillBackground(bool)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QObject::disconnect(QObject const*, char const*, QObject const*, char const*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQByteArray::isNull() const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QOpenGLExtensions::openGLExtensions()@Qt_5_PRIVATE_API'
/usr/local/lib/libopencv_highgui.so: undefined reference toQBoxLayout::addItem(QLayoutItem*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QPaintEngineExPrivate::replayClipOperations()@Qt_5_PRIVATE_API'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::event(QEvent*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QMenu::QMenu(QWidget*)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::setCursor(QCursor const&)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QPushButton::qt_metacall(QMetaObject::Call, int, void**)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference totypeinfo for QGraphicsEffect@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QBoxLayout::addWidget(QWidget*, int, QFlagsQt::AlignmentFlag)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQHBoxLayout::~QHBoxLayout()@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QByteArray::truncate(int)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQArrayData::shared_null@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QColor::setGreenF(double)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQWindow::handle() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QSettings::setArrayIndex(int)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQColor::invalidate()@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QOpenGLContext::getProcAddress(char const*) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQLabel::QLabel(QWidget*, QFlags<Qt::WindowType>)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QByteArray::simplified_helper(QByteArray const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQMetaObjectPrivate::signal(QMetaObject const*, int)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
qFormatLogMessage(QtMsgType, QMessageLogContext const&, QString const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQByteArray::number(double, char, int)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QColor::operator==(QColor const&) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference totypeinfo for QGraphicsView@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QThread::wait(unsigned long)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference tonon-virtual thunk to QWidget::redirected(QPoint*) const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QApplication::closeAllWindows()@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQListData::erase(void**)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QFileDevice::atEnd() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::moveEvent(QMoveEvent*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QPaintEngineEx::clip(QRect const&, Qt::ClipOperation)@Qt_5_PRIVATE_API'
/usr/local/lib/libopencv_highgui.so: undefined reference toQColor::setRgb(int, int, int, int)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QPainter::fillRect(QRect const&, QColor const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQByteArray::append(QByteArray const&)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QPen::joinStyle() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::metric(QPaintDevice::PaintDeviceMetric) const@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QElapsedTimer::nsecsElapsed() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQGraphicsView::paintEvent(QPaintEvent*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QShortcut::QShortcut(QKeySequence const&, QWidget*, char const*, char const*, Qt::ShortcutContext)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference totypeinfo for QFutureInterfaceBase@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QOpenGLFramebufferObject::QOpenGLFramebufferObject(QSize const&, QOpenGLFramebufferObjectFormat const&)@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toqstrncpy(char*, char const*, unsigned int)@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QFileInfo::setFile(QDir const&, QString const&)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQVariant::toSize() const@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
qt_scaleForTransform(QTransform const&, double*)@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQImage::scanLine(int) const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QWidget::mouseMoveEvent(QMouseEvent*)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQObject::~QObject()@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
qt_sine_table@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQLibraryInfo::location(QLibraryInfo::LibraryLocation)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QImagePixmapCleanupHooks::enableCleanupHooks(QPixmap const&)@Qt_5_PRIVATE_API'
/usr/local/lib/libopencv_highgui.so: undefined reference toQGraphicsView::focusInEvent(QFocusEvent*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QDate::toString(QString const&) const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQButtonGroup::addButton(QAbstractButton*, int)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QPaintDevice::redirected(QPoint*) const@Qt_5'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQRadialGradient::focalPoint() const@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QRadioButton::minimumSizeHint() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQGraphicsView::dragEnterEvent(QDragEnterEvent*)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QString::fromUtf8_helper(char const*, int)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQFontMetrics::~QFontMetrics()@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QWidget::devType() const@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::dragMoveEvent(QDragMoveEvent*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QWidgetPrivate::setWindowFlags(QFlagsQt::WindowType)@Qt_5_PRIVATE_API'
//home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference toQSurfaceFormat::alphaBufferSize() const@Qt_5' //home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference to
QLibraryInfo::build()@Qt_5'
//home/bulki/anaconda3/lib/libQt5Test.so.5: undefined reference toQRegExp::QRegExp(QString const&, Qt::CaseSensitivity, QRegExp::PatternSyntax)@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QAbstractButton::focusInEvent(QFocusEvent*)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQRadioButton::qt_metacast(char const*)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QSurfaceFormat::setAlphaBufferSize(int)@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQWidget::show()@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to
QIcon::~QIcon()@Qt_5'
/usr/local/lib/libopencv_highgui.so: undefined reference toQPainter::setPen(QColor const&)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to
QSurfaceFormat::testOption(QSurfaceFormat::FormatOption) const@Qt_5' -
Hi @Jhankar-patel, and welcome to the forum.
Can you show as your *.pro file please? Thanks.
-
Hi and welcome to devnet,
You seem to be mixing your local system Qt and the conda installed version.
How did you install OpenCV ?
What about using the version provided by conda ?