Compiling KDE Question about undefined reference

Aleix Pol aleixpol at kde.org
Wed May 30 14:40:15 UTC 2018


On Tue, May 29, 2018 at 6:15 PM, Pablo Castillo <pai.gorik at gmail.com> wrote:
> Dear KDE team,
>
> i'm a beginner and I'm trying to compile KDE.
> I installed all required dependencies, (even optional) and my build commands
> script is as following:
>
> #! /bin/bash
> cmake \
> -D CMAKE_BUILD_TYPE=RelWithDebInfo \
> -D CMAKE_INSTALL_PREFIX=~/kde/usr \
> ../kate/
> make
> make install
>
>
> However, when trying to compile I get an undefined reference errors as
> follows: It seems that Qt5 is being loaded from another directory which I
> did not specify.
> In addition, since I installed the Qt dependencies directly from sudo
> apt-get install shouldn't be detected automatically?
> Can you please get me some help around this?
>
> Thank you very much
> Pablo
>
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QVariant::QVariant(QString const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPainter::fillRect(QRectF const&, QBrush
> const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTextLayout::endLayout()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPixmap::hasAlpha() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPainter::setWorldTransform(QTransform const&,
> bool)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTransform::shear(double, double)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QObjectPrivate::~QObjectPrivate()@Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to
> `QGraphicsItemPrivate::updateSceneTransformFromParent()@Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QComboBox::setLineEdit(QLineEdit*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPushButton::QPushButton(QWidget*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QThread::event(QEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QWaitCondition::wait(QMutex*, unsigned long)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QComboBox::insertItems(int, QStringList
> const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QImage::save(QIODevice*, char const*, int)
> const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDir::isRelativePath(QString const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QRegExp::setMinimal(bool)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QGraphicsScene::removeItem(QGraphicsItem*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QGraphicsItemPrivate::isProxyWidget()
> const at Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QObject::QObject(QObjectPrivate&,
> QObject*)@Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QByteArray::QByteArray(int, char)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to
> `QGraphicsItem::setCacheMode(QGraphicsItem::CacheMode, QSize const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QColor::QColor(Qt::GlobalColor)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPainterPath::operator=(QPainterPath const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QDir::QDir(QString const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QBuffer::QBuffer(QByteArray*, QObject*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `qt_defaultDpiY()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPagedPaintDevice::devicePageLayout()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QLineEdit::dropEvent(QDropEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QHashData::allocateNode(int)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QXmlStreamReader::errorString() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDialog::keyPressEvent(QKeyEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QTransform::mapRect(QRectF const&) const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTimer::QTimer(QObject*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QWidget::mousePressEvent(QMouseEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDoubleSpinBox::QDoubleSpinBox(QWidget*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPen::operator QVariant() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QTextStream::readAll()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QFrame::changeEvent(QEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to
> `QLayoutItem::setAlignment(QFlags<Qt::AlignmentFlag>)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QChar::isSpace_helper(unsigned int)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTextLayout::createLine()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPaintEngine::syncState()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPen::setWidthF(double)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QByteArray::fromRawData(char const*, int)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QGraphicsScene::setSceneRect(QRectF const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QThread::currentThread()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPen::QPen(Qt::PenStyle)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPaintEngine::~QPaintEngine()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTextFormat::~QTextFormat()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPen::style() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QCheckBox::QCheckBox(QWidget*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QComboBox::lineEdit() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QSpinBox::setMinimum(int)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPainter::transform() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to
> `QGraphicsObject::QGraphicsObject(QGraphicsItemPrivate&,
> QGraphicsItem*)@Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QWidget::heightForWidth(int) const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPageSize::name() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPageSize::QPageSize(QPageSize const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QLineEdit::hasAcceptableInput() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QLocale::decimalPoint() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDialog::exec()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QTransform::type() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to
> `QGraphicsItemPrivate::setWidth(double)@Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `operator delete(void*, unsigned long)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPdfEngine::drawPoints(QPointF const*,
> int)@Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QGraphicsView::staticMetaObject at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QSize::scaled(QSize const&, Qt::AspectRatioMode)
> const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QWidget::update()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QDataStream::resetStatus()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTextItem::font() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPageLayout::setUnits(QPageLayout::Unit)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QWidget::paintEngine() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPainterPath::fillRule() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPen::setDashPattern(QVector<double> const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QMimeType::name() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QChar::toLower(unsigned int)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QGraphicsScene::setBackgroundBrush(QBrush
> const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QMatrix::shear(double, double)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPageLayout::QPageLayout(QPageLayout const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTextLine::setPosition(QPointF const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDateTime::currentDateTime()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPaintDevice::~QPaintDevice()@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QMetaProperty::name() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QMainWindow::addToolBar(QToolBar*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QMatrix::mapRect(QRectF const&) const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDoubleValidator::validate(QString&, int&)
> const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QFileInfo::absoluteFilePath() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QFileInfo::QFileInfo(QString const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QWidget::hideEvent(QHideEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to
> `QPagedPaintDevicePrivate::~QPagedPaintDevicePrivate()@Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QObject::connectNotify(QMetaMethod const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QListData::remove(int, int)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QDate::dayOfWeek() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to
> `QObjectPrivate::QObjectPrivate(int)@Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QWidget::hasHeightForWidth() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDateTime::addDays(long long) const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QPen::QPen(QBrush const&, double, Qt::PenStyle,
> Qt::PenCapStyle, Qt::PenJoinStyle)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `qEnvironmentVariableIsEmpty(char const*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QListData::realloc(int)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QFile::staticMetaObject at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QObject::customEvent(QEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDialogPrivate::canBeNativeDialog()
> const at Qt_5_PRIVATE_API'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QByteArray::startsWith(char const*) const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTextLayout::lineCount() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `QObject::QObject(QObject*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPainter::drawPolygon(QPointF const*, int,
> Qt::FillRule)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QPen::color() const at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to
> `QGraphicsView::dragLeaveEvent(QDragLeaveEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QWidget::closeEvent(QCloseEvent*)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Svg.so.5:
> undefined reference to `QTextFormat::QTextFormat(QTextFormat const&)@Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5Script.so.5:
> undefined reference to `typeinfo for QObject at Qt_5'
> /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib//libQt5PrintSupport.so.5:
> undefined reference to `QDialog::QDialog(QWidget*,
> QFlags<Qt::WindowType>)@Qt_5'
> collect2: error: ld returned 1 exit status
> kwrite/CMakeFiles/kwrite.dir/build.make:177: recipe for target
> 'kwrite/kwrite' failed
> make[2]: *** [kwrite/kwrite] Error 1
> CMakeFiles/Makefile2:118: recipe for target
> 'kwrite/CMakeFiles/kwrite.dir/all' failed
> make[1]: *** [kwrite/CMakeFiles/kwrite.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2
>

Hi,
Yes it should be linking against apt dependencies, but you are linking
against a Qt build within your home directory.

Aleix


More information about the KWrite-Devel mailing list