Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Problem getting during Build the project

    3rd Party Software
    3
    3
    2780
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jhankar patel last edited by

      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 to QAbstractSlider::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 to QRegularExpression::~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 to qvsnprintf(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 to qrand()@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 to QWidget::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 to non-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 to QByteArray::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 to QCheckBox::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 to QWidget::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 to typeinfo 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 to qTriangulate(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 to QFont::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 to QWidget::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 to QtPrivate::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 to QWidget::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 to QSurfaceFormat::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 to QObject::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 to QPaintEngineExPrivate::~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 to QPaintEngineEx::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 to QTimer::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 to QString::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 to QGraphicsView::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 to QIcon::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 to QBoxLayout::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 to QDir::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 to hex(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 to QRadioButton::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 to qEnvironmentVariableIsSet(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 to QGradient::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 to QImageTextureGlyphCache::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 to QOpenGLContext::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 to typeinfo 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 to QObject::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 to QAbstractConcatenable::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 to QThreadStorageData::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 to QAbstractButton::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 to QOpenGLContext::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 to QImage::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 to QRadialGradient::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 to QImagePixmapCleanupHooks::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 to QSurfaceFormat::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 to typeinfo 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 to QSysInfo::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 to QString::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 to QImage::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 to QThreadStorageData::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 to qVersion@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 to QImage::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 to vtable 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 to QObject::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 to QMetaObject::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 to QDirIterator::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 to QAbstractButton::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 to QSurfaceFormat::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 to qtVectorPathForPath(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 to QPaintEngine::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 to QDashedStrokeProcessor::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 to QTransform::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 to non-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 to QVariant::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 to QPixmap::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 to QGradient::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 to QWidget::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 to QSlider::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 to QImage::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 to QTriangulatingStroker::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 to QString::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 to QCoreApplication::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 to typeinfo 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 to QOpenGLContext::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 to QOpenGLContext::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 to QImage::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 to QByteArray::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 to QLayout::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 to QAbstractButton::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 to QEventLoop::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 to QPainter::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 to QMetaMethod::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 to QThreadPool::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 to QPainter::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 to QWidget::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 to QPaintEngineEx::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 to QPaintEngineEx::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 to QPaintDevice::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 to QPushButton::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 to QPaintEngineEx::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 to QTemporaryDir::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 to QSurfaceFormat::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 to qUnregisterResourceData(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 to qt_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 to QTemporaryDir::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 to QWidget::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 to QByteArray::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 to QBoxLayout::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 to QWidget::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 to QWidget::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 to typeinfo 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 to QHBoxLayout::~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 to QArrayData::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 to QWindow::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 to QColor::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 to QLabel::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 to QMetaObjectPrivate::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 to QByteArray::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 to typeinfo 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 to non-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 to QListData::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 to QWidget::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 to QColor::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 to QByteArray::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 to QWidget::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 to QGraphicsView::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 to typeinfo 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 to qstrncpy(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 to QVariant::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 to QImage::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 to QObject::~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 to QLibraryInfo::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 to QGraphicsView::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 to QButtonGroup::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 to QRadialGradient::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 to QGraphicsView::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 to QFontMetrics::~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 to QWidget::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 to QSurfaceFormat::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 to QRegExp::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 to QRadioButton::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 to QWidget::show()@Qt_5' /usr/local/lib/libopencv_highgui.so: undefined reference to QIcon::~QIcon()@Qt_5'
      /usr/local/lib/libopencv_highgui.so: undefined reference to QPainter::setPen(QColor const&)@Qt_5' //home/bulki/anaconda3/lib/libQt5OpenGL.so.5: undefined reference to QSurfaceFormat::testOption(QSurfaceFormat::FormatOption) const@Qt_5'

      aha_1980 1 Reply Last reply Reply Quote 0
      • aha_1980
        aha_1980 Lifetime Qt Champion @Jhankar patel last edited by

        Hi @Jhankar-patel, and welcome to the forum.

        Can you show as your *.pro file please? Thanks.

        Qt has to stay free or it will die.

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply Reply Quote 0
          • First post
            Last post