RaspberryPi2EGLFS compiling error



  • Hi,
    I am trying to set-up cross compiling environment using this manual:
    RaspberryPi2EGLFS

    but at step 7 when running make I got a plenty of errors:

    .obj/qaccessible.o:qaccessible.cpp:function QAccessibleEvent::accessibleInterface() const: error: undefined reference to 'QDebug::~QDebug()'
    .obj/qaccessible.o:qaccessible.cpp:function QAccessibleEvent::accessibleInterface() const: error: undefined reference to 'QDebug::~QDebug()'
    .obj/qaccessible.o:qaccessible.cpp:function QAccessibleEvent::accessibleInterface() const: error: undefined reference to 'QDebug::~QDebug()'
    .obj/qaccessible.o:qaccessible.cpp:function operator<<(QDebug, QAccessibleEvent const&): error: undefined reference to 'QDebug::~QDebug()'
    .obj/qaccessible.o:qaccessible.cpp:function operator<<(QDebug, QAccessibleInterface const*): error: undefined reference to 'QDebug::putString(QChar const*, unsigned int)'
    .obj/qaccessible.o:qaccessible.cpp:function operator<<(QDebug, QAccessibleInterface const*): error: undefined reference to 'QDebug::putString(QChar const*, unsigned int)'
    .obj/qgenericpluginfactory.o:qgenericpluginfactory.cpp:function QGenericPluginFactory::create(QString const&, QString const&): error: undefined reference to 'QString::toLower_helper(QString const&)'
    .obj/qwindowsysteminterface.o:qwindowsysteminterface.cpp:function qt_sendShortcutOverrideEvent(QObject*, unsigned long, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, unsigned short): error: undefined reference to 'QCoreApplication::notifyInternal2(QObject*, QEvent*)'
    .obj/qplatforminputcontextfactory.o:qplatforminputcontextfactory.cpp:function QPlatformInputContextFactory::create(QString const&): error: undefined reference to 'QString::toLower_helper(QString&)'
    .obj/qplatforminputcontext.o:qplatforminputcontext.cpp:function QPlatformInputContext::setSelectionOnFocusObject(QPointF const&, QPointF const&): error: undefined reference to 'QCoreApplication::notifyInternal2(QObject*, QEvent*)'
    .obj/qplatformtheme.o:qplatformtheme.cpp:function QPlatformTheme::removeMnemonics(QString const&): error: undefined reference to 'QString::resize(int, QChar)'
    .obj/qplatformtheme.o:qplatformtheme.cpp:function QPlatformTheme::defaultThemeHint(QPlatformTheme::ThemeHint): error: undefined reference to 'qEnvironmentVariableIntValue(char const*, bool*)'
    .obj/qplatformtheme.o:qplatformtheme.cpp:function QPlatformTheme::defaultThemeHint(QPlatformTheme::ThemeHint): error: undefined reference to 'QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*)'
    .obj/qplatformtheme.o:qplatformtheme.cpp:function QPlatformTheme::defaultThemeHint(QPlatformTheme::ThemeHint): error: undefined reference to 'QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*)'
    .obj/qplatformtheme.o:qplatformtheme.cpp:function QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id(): error: undefined reference to 'QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*)'
    .obj/qplatformtheme.o:qplatformtheme.cpp:function QMetaTypeId<QList<int> >::qt_metatype_id(): error: undefined reference to 'QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*)'
    .obj/qplatformthemefactory.o:qplatformthemefactory.cpp:function QPlatformThemeFactory::create(QString const&, QString const&): error: undefined reference to 'QString::toLower_helper(QString&)'
    .obj/qplatformwindow.o:qplatformwindow.cpp:function QPlatformWindow::requestUpdate(): error: undefined reference to 'qEnvironmentVariableIntValue(char const*, bool*)'
    .obj/qsurfaceformat.o:qsurfaceformat.cpp:function operator<<(QDebug, QSurfaceFormat const&): error: undefined reference to 'qt_QMetaEnum_flagDebugOperator(QDebug&, unsigned int, int)'
    .obj/qguiapplication.o:qguiapplication.cpp:function QGuiApplicationPrivate::processGestureEvent(QWindowSystemInterfacePrivate::GestureEvent*): error: undefined reference to 'QCoreApplication::notifyInternal2(QObject*, QEvent*)'
    .obj/qguiapplication.o:qguiapplication.cpp:function QGuiApplicationPrivate::createPlatformIntegration(): error: undefined reference to 'QString::toLower_helper(QString&)'
    .obj/qguiapplication.o:qguiapplication.cpp:function QGuiApplicationPrivate::createPlatformIntegration(): error: undefined reference to 'QString::resize(int, QChar)'
    .obj/qguiapplication.o:qguiapplication.cpp:function updateBlockedStatusRecursion(QWindow*, bool): error: undefined reference to 'QCoreApplication::notifyInternal2(QObject*, QEvent*)'
    .obj/qguiapplication.o:qguiapplication.cpp:function QGuiApplicationPrivate::init(): error: undefined reference to 'QCoreApplicationPrivate::init()'
    .obj/qguiapplication.o:qguiapplication.cpp:function QGuiApplicationPrivate::init(): error: undefined reference to 'QDebug::putByteArray(char const*, unsigned int, QDebug::Latin1Content)'
    .obj/qguiapplication.o:qguiapplication.cpp:function QGuiApplicationPrivate::init(): error: undefined reference to 'qEnvironmentVariableIntValue(char const*, bool*)'
    .obj/qguiapplication.o:qguiapplication.cpp:function QGuiApplicationPrivate::init(): error: undefined reference to 'QDebug::putString(QChar const*, unsigned int)'
    .obj/qwindow.o:qwindow.cpp:function operator<<(QDebug, QWindow const*): error: undefined reference to 'qt_QMetaEnum_debugOperator(QDebug&, int, QMetaObject const*, char const*)'
    .obj/qwindow.o:qwindow.cpp:function operator<<(QDebug, QWindow const*): error: undefined reference to 'qt_QMetaEnum_debugOperator(QDebug&, int, QMetaObject const*, char const*)'
    .obj/qwindow.o:qwindow.cpp:function operator<<(QDebug, QWindow const*): error: undefined reference to 'qt_QMetaEnum_flagDebugOperator(QDebug&, unsigned long long, QMetaObject const*, char const*)'
    .obj/qwindow.o:qwindow.cpp:function operator<<(QDebug, QWindow const*): error: undefined reference to 'QDebug::putString(QChar const*, unsigned int)'
    .obj/qwindow.o:qwindow.cpp:function QWindowPrivate::create(bool): error: undefined reference to 'qt_QMetaEnum_flagDebugOperator(QDebug&, unsigned long long, QMetaObject const*, char const*)'
    .obj/qclipboard.o:qclipboard.cpp:function QClipboard::text(QString&, QClipboard::Mode) const: error: undefined reference to 'QString::operator=(QLatin1String)'
    .obj/qcursor.o:qcursor.cpp:function operator<<(QDebug, QCursor const&): error: undefined reference to 'qt_QMetaEnum_debugOperator(QDebug&, int, QMetaObject const*, char const*)'
    .obj/qdnd.o:qdnd.cpp:function imageReadMimeFormats(): error: undefined reference to 'QByteArray::toLower_helper(QByteArray const&)'
    .obj/qdnd.o:qdnd.cpp:function imageWriteMimeFormats(): error: undefined reference to 'QByteArray::toLower_helper(QByteArray const&)'
    .obj/qdnd.o:qdnd.cpp:function QInternalMimeData::renderDataHelper(QString const&, QMimeData const*): error: undefined reference to 'QByteArray::toUpper_helper(QByteArray&)'
    .obj/qevent.o:qevent.cpp:function formatDropEvent(QDebug, QDropEvent const*): error: undefined reference to 'QDebug::putByteArray(char const*, unsigned int, QDebug::Latin1Content)'
    .obj/qevent.o:qevent.cpp:function formatDropEvent(QDebug, QDropEvent const*): error: undefined reference to 'QDebug::putByteArray(char const*, unsigned int, QDebug::Latin1Content)'
    .obj/qevent.o:qevent.cpp:function formatDropEvent(QDebug, QDropEvent const*): error: undefined reference to 'QDebug::putByteArray(char const*, unsigned int, QDebug::Latin1Content)'
    .obj/qkeysequence.o:qkeysequence.cpp:function QKeySequencePrivate::decodeString(QString const&, QKeySequence::SequenceFormat): error: undefined reference to 'QString::toLower_helper(QString const&)'
    .obj/qkeysequence.o:qkeysequence.cpp:function QKeySequencePrivate::decodeString(QString const&, QKeySequence::SequenceFormat): error: undefined reference to 'QString::toLower_helper(QString&)'
    .obj/qkeysequence.o:qkeysequence.cpp:function QKeySequencePrivate::decodeString(QString const&, QKeySequence::SequenceFormat): error: undefined reference to 'QString::toLower_helper(QString const&)'
    .obj/qscreen.o:qscreen.cpp:function operator<<(QDebug, QScreen const*): error: undefined reference to 'qt_QMetaEnum_debugOperator(QDebug&, int, QMetaObject const*, char const*)'
    .obj/qhighdpiscaling.o:qhighdpiscaling.cpp:function QHighDpiScaling::initHighDpiScaling(): error: undefined reference to 'qEnvironmentVariableIntValue(char const*, bool*)'
    .obj/qhighdpiscaling.o:qhighdpiscaling.cpp:function QHighDpiScaling::initHighDpiScaling(): error: undefined reference to 'QByteArray::toLower_helper(QByteArray&)'
    .obj/qimage.o:qimage.cpp:function operator<<(QDebug, QImage const&): error: undefined reference to 'QDebug::resetFormat()'
    .obj/qimage.o:qimage.cpp:function QImage::text(QString const&) const: error: undefined reference to 'QString::simplified_helper(QString const&)'
    .obj/qimage.o:qimage.cpp:function QImage::convertToFormat(QImage::Format, QVector<unsigned int> const&, QFlags<Qt::ImageConversionFlag>) const: error: undefined reference to 'QString::splitRef(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const'
    .obj/qimage.o:qimage.cpp:function QImage::convertToFormat(QImage::Format, QVector<unsigned int> const&, QFlags<Qt::ImageConversionFlag>) const: error: undefined reference to 'QStringRef::split(QString const&, QString::SplitBehavior, Qt::CaseSensitivity) const'
    .obj/qimagereader.o:qimagereader.cpp:function createReadHandlerHelper(QIODevice*, QByteArray const&, bool, bool): error: undefined reference to 'QByteArray::toLower_helper(QByteArray const&)'
    .obj/qimagereader.o:qimagereader.cpp:function QImageReaderPrivate::getText() [clone .part.30]: error: undefined reference to 'QString::simplified_helper(QString const&)'
    .obj/qimagereader.o:qimagereader.cpp:function QImageReaderPrivate::getText() [clone .part.30]: error: undefined reference to 'QString::simplified_helper(QString&)'
    .obj/qimagereader.o:qimagereader.cpp:function QImageReaderPrivate::initHandler(): error: undefined reference to 'QByteArray::toLower_helper(QByteArray const&)'
    .obj/qimagewriter.o:qimagewriter.cpp:function QImageWriter::setText(QString const&, QString const&): error: undefined reference to 'QString::simplified_helper(QString const&)'
    .obj/qimagewriter.o:qimagewriter.cpp:function QImageWriter::setText(QString const&, QString const&): error: undefined reference to 'QString::simplified_helper(QString const&)'
    .obj/qimagewriter.o:qimagewriter.cpp:function supportedImageHandlerMimeTypes(QFactoryLoader*, QImageIOPlugin::Capability, QList<QByteArray>*): error: undefined reference to 'QJsonObject::value(QLatin1String) const'
    .obj/qimagewriter.o:qimagewriter.cpp:function supportedImageHandlerMimeTypes(QFactoryLoader*, QImageIOPlugin::Capability, QList<QByteArray>*): error: undefined reference to 'QJsonObject::value(QLatin1String) const'
    .obj/qimagewriter.o:qimagewriter.cpp:function supportedImageHandlerMimeTypes(QFactoryLoader*, QImageIOPlugin::Capability, QList<QByteArray>*): error: undefined reference to 'QJsonObject::value(QLatin1String) const'
    .obj/qimagewriter.o:qimagewriter.cpp:function supportedImageHandlerMimeTypes(QFactoryLoader*, QImageIOPlugin::Capability, QList<QByteArray>*): error: undefined reference to 'QJsonValue::toString() const'
    .obj/qimagewriter.o:qimagewriter.cpp:function supportedImageHandlerMimeTypes(QFactoryLoader*, QImageIOPlugin::Capability, QList<QByteArray>*): error: undefined reference to 'QJsonValue::toString() const'
    .obj/qpixmap.o:qpixmap.cpp:function operator<<(QDebug, QPixmap const&): error: undefined reference to 'QDebug::resetFormat()'
    .obj/qicon.o:qicon.cpp:function operator<<(QDebug, QIcon const&): error: undefined reference to 'QDebug::resetFormat()'
    .obj/qicon.o:qicon.cpp:function qt_findAtNxFile(QString const&, double, double*): error: undefined reference to 'QString::resize(int, QChar)'
    .obj/qiconloader.o:qiconloader.cpp:function QIconLoader::findIconHelper(QString const&, QString const&, QStringList&) const: error: undefined reference to 'QString::trimmed_helper(QString const&)'
    .obj/qppmhandler.o:qppmhandler.cpp:function QPpmHandler::setOption(QImageIOHandler::ImageOption, QVariant const&): error: undefined reference to 'QByteArray::toLower_helper(QByteArray&)'
    .obj/qxbmhandler.o:qxbmhandler.cpp:function read_xbm_header(QIODevice*, int&, int&): error: undefined reference to 'QByteArray::trimmed_helper(QByteArray&)'
    .obj/qxbmhandler.o:qxbmhandler.cpp:function read_xbm_header(QIODevice*, int&, int&): error: undefined reference to 'QByteArray::trimmed_helper(QByteArray&)'
    .obj/qxpmhandler.o:qxpmhandler.cpp:function read_xpm_body(QIODevice*, char const* const*, int&, QByteArray&, int, int, int, int, QImage&): error: undefined reference to 'QByteArray::simplified_helper(QByteArray&)'
    .obj/qxpmhandler.o:qxpmhandler.cpp:function read_xpm_body(QIODevice*, char const* const*, int&, QByteArray&, int, int, int, int, QImage&): error: undefined reference to 'QByteArray::trimmed_helper(QByteArray&)'
    .obj/qxpmhandler.o:qxpmhandler.cpp:function read_xpm_body(QIODevice*, char const* const*, int&, QByteArray&, int, int, int, int, QImage&): error: undefined reference to 'QByteArray::toLower_helper(QByteArray&)'
    .obj/qxpmhandler.o:qxpmhandler.cpp:function QXpmHandler::write(QImage const&): error: undefined reference to 'QString::asprintf(char const*, ...)'
    .obj/qxpmhandler.o:qxpmhandler.cpp:function QXpmHandler::write(QImage const&): error: undefined reference to 'QString::asprintf(char const*, ...)'
    .obj/qxpmhandler.o:qxpmhandler.cpp:function QXpmHandler::write(QImage const&): error: undefined reference to 'QString::resize(int, QChar)'
    .obj/qpnghandler.o:qpnghandler.cpp:function QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int): error: undefined reference to 'QString::simplified_helper(QString&)'
    .obj/qfont.o:qfont.cpp:function QFont::substitute(QString const&): error: undefined reference to 'QString::toLower_helper(QString const&)'
    .obj/qfont.o:qfont.cpp:function QFont::fromString(QString const&): error: undefined reference to 'QString::splitRef(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const'
    .obj/qfontsubset.o:qfontsubset.cpp:function QFontSubset::toTruetype() const: error: undefined reference to 'QString::operator=(QLatin1String)'
    .obj/qfontsubset.o:qfontsubset.cpp:function QFontSubset::toTruetype() const: error: undefined reference to 'QString::operator=(QLatin1String)'
    .obj/qfontsubset.o:qfontsubset.cpp:function QFontSubset::toTruetype() const: error: undefined reference to 'QString::operator=(QLatin1String)'
    .obj/qfontdatabase.o:qfontdatabase.cpp:function QFontDatabase::load(QFontPrivate const*, int): error: undefined reference to 'QString::splitRef(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const'
    .obj/qtextformat.o:qtextformat.cpp:function QDataStream& operator>><int, QVariant>(QDataStream&, QMap<int, QVariant>&): error: undefined reference to 'QIODevice::isTransactionStarted() const'
    .obj/qtextdocument.o:qtextdocument.cpp:function findInBlock(QTextBlock const&, QRegularExpression const&, int, QFlags<QTextDocument::FindFlag>, QTextCursor*): error: undefined reference to 'QString::lastIndexOf(QRegularExpression const&, int, QRegularExpressionMatch*) const'
    .obj/qtextdocument.o:qtextdocument.cpp:function findInBlock(QTextBlock const&, QRegularExpression const&, int, QFlags<QTextDocument::FindFlag>, QTextCursor*): error: undefined reference to 'QString::indexOf(QRegularExpression const&, int, QRegularExpressionMatch*) const'
    .obj/qtextdocument_p.o:qtextdocument_p.cpp:function QFragmentMapData<QTextFragmentData>::insert_single(int, unsigned int): error: undefined reference to 'qCalculateGrowingBlockSize(unsigned int, unsigned int, unsigned int)'
    .obj/qtextdocument_p.o:qtextdocument_p.cpp:function QFragmentMapData<QTextBlockData>::insert_single(int, unsigned int): error: undefined reference to 'qCalculateGrowingBlockSize(unsigned int, unsigned int, unsigned int)'
    .obj/qtexthtmlparser.o:qtexthtmlparser.cpp:function QTextHtmlParser::parseCloseTag(): error: undefined reference to 'QString::trimmed_helper(QString&)'
    .obj/qcssparser.o:qcssparser.cpp:function QCss::Declaration::rectValue() const: error: undefined reference to 'QString::splitRef(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const'
    .obj/qcssparser.o:qcssparser.cpp:function parseColorValue(QCss::Value): error: undefined reference to 'QString::trimmed_helper(QString const&)'
    .obj/qtextodfwriter.o:qtextodfwriter.cpp:function QTextOdfWriter::writeBlockFormat(QXmlStreamWriter&, QTextBlockFormat, int) const: error: undefined reference to 'qt_QMetaEnum_flagDebugOperator(QDebug&, unsigned long long, QMetaObject const*, char const*)'
    .obj/qbrush.o:qbrush.cpp:function QDataStream& operator>><QPair<double, QColor> >(QDataStream&, QVector<QPair<double, QColor> >&): error: undefined reference to 'QIODevice::isTransactionStarted() const'
    .obj/qcolor.o:qcolor.cpp:function QColor::name(QColor::NameFormat) const: error: undefined reference to 'QString::asprintf(char const*, ...)'
    .obj/qcolor.o:qcolor.cpp:function QColor::name(QColor::NameFormat) const: error: undefined reference to 'QString::asprintf(char const*, ...)'
    .obj/qpen.o:qpen.cpp:function QDataStream& operator>><double>(QDataStream&, QVector<double>&): error: undefined reference to 'QIODevice::isTransactionStarted() const'
    .obj/qpolygon.o:qpolygon.cpp:function QDataStream& operator>><QPoint>(QDataStream&, QVector<QPoint>&): error: undefined reference to 'QIODevice::isTransactionStarted() const'
    .obj/qvalidator.o:qvalidator.cpp:function QDoubleValidator::validate(QString&, int&) const: error: undefined reference to 'QLocaleData::validateChars(QString const&, QLocaleData::NumberMode, QByteArray*, int, QFlags<QLocale::NumberOption>) const'
    .obj/qvalidator.o:qvalidator.cpp:function QIntValidator::validate(QString&, int&) const: error: undefined reference to 'QLocaleData::validateChars(QString const&, QLocaleData::NumberMode, QByteArray*, int, QFlags<QLocale::NumberOption>) const'
    .obj/qvalidator.o:qvalidator.cpp:function QIntValidator::fixup(QString&) const: error: undefined reference to 'QLocaleData::validateChars(QString const&, QLocaleData::NumberMode, QByteArray*, int, QFlags<QLocale::NumberOption>) const'
    .obj/qvalidator.o:qvalidator.cpp:function QDoubleValidatorPrivate::validateWithLocale(QString&, QLocaleData::NumberMode, QLocale const&) const: error: undefined reference to 'QLocaleData::validateChars(QString const&, QLocaleData::NumberMode, QByteArray*, int, QFlags<QLocale::NumberOption>) const'
    .obj/qopengl.o:qopengl.cpp:function (anonymous namespace)::VersionTerm::matches(QVersionNumber const&) const: error: undefined reference to 'QVersionNumber::compare(QVersionNumber const&, QVersionNumber const&)'
    .obj/qopengl.o:qopengl.cpp:function (anonymous namespace)::VersionTerm::matches(QVersionNumber const&) const: error: undefined reference to 'QVersionNumber::compare(QVersionNumber const&, QVersionNumber const&)'
    .obj/qopengl.o:qopengl.cpp:function (anonymous namespace)::VersionTerm::matches(QVersionNumber const&) const: error: undefined reference to 'QVersionNumber::compare(QVersionNumber const&, QVersionNumber const&)'
    .obj/qopengl.o:qopengl.cpp:function (anonymous namespace)::VersionTerm::matches(QVersionNumber const&) const: error: undefined reference to 'QVersionNumber::compare(QVersionNumber const&, QVersionNumber const&)'
    .obj/qopengl.o:qopengl.cpp:function (anonymous namespace)::VersionTerm::fromJson(QJsonValue const&): error: undefined reference to 'QJsonObject::value(QLatin1String) const'
    .obj/qopengl.o:qopengl.cpp:function (anonymous namespace)::VersionTerm::fromJson(QJsonValue const&): error: undefined reference to 'QJsonValue::toString() const'
    .obj/qopengl.o:qopengl.cpp:function (anonymous namespace)::VersionTerm::fromJson(QJsonValue const&): error: undefined reference to 'QVersionNumber::fromString(QString const&, int*)'
    .obj/qopengl.o:qopengl.cpp:function (anonymous namespace)::VersionTerm::fromJson(QJsonValue const&): error: undefined reference to 'QJsonValue::toString() const'
    .obj/qopengl.o:qopengl.cpp:function operator<<(QDebug, QOpenGLConfig::Gpu const&): error: undefined reference to 'operator<<(QDebug, QVersionNumber const&)'
    .obj/qopengl.o:qopengl.cpp:function matches(QJsonObject const&, QString const&, QVersionNumber const&, QString const&, QOpenGLConfig::Gpu const&): error: undefined reference to 'QJsonObject::contains(QLatin1String) const'
    .obj/qopengl.o:qopengl.cpp:function QOpenGLConfig::gpuFeatures(QOpenGLConfig::Gpu const&, QJsonDocument const&): error: undefined reference to 'QSysInfo::kernelVersion()'
    .obj/qopengl.o:qopengl.cpp:function QOpenGLConfig::gpuFeatures(QOpenGLConfig::Gpu const&, QJsonDocument const&): error: undefined reference to 'QVersionNumber::fromString(QString const&, int*)'
    .obj/qopengl.o:qopengl.cpp:function QOpenGLConfig::gpuFeatures(QOpenGLConfig::Gpu const&, QString const&): error: undefined reference to 'QSysInfo::kernelVersion()'
    .obj/qopengl.o:qopengl.cpp:function QOpenGLConfig::gpuFeatures(QOpenGLConfig::Gpu const&, QString const&): error: undefined reference to 'QVersionNumber::fromString(QString const&, int*)'
    .obj/qstandarditemmodel.o:qstandarditemmodel.cpp:function QStandardItemModelPrivate::QStandardItemModelPrivate(): error: undefined reference to 'QAbstractItemModelPrivate::QAbstractItemModelPrivate()'
    .obj/qstandarditemmodel.o:qstandarditemmodel.cpp:function QStandardItemPrivate::setModel(QStandardItemModel*) [clone .part.80]: error: undefined reference to 'QAbstractItemModelPrivate::invalidatePersistentIndex(QModelIndex const&)'
    .obj/qstandarditemmodel.o:qstandarditemmodel.cpp:function QStandardItemPrivate::setModel(QStandardItemModel*): error: undefined reference to 'QAbstractItemModelPrivate::invalidatePersistentIndex(QModelIndex const&)'
    .obj/qstandarditemmodel.o:qstandarditemmodel.cpp:function QStandardItemModel::QStandardItemModel(QObject*): error: undefined reference to 'QAbstractItemModelPrivate::QAbstractItemModelPrivate()'
    .obj/qstandarditemmodel.o:qstandarditemmodel.cpp:function QStandardItemPrivate::setModel(QStandardItemModel*) [clone .constprop.121]: error: undefined reference to 'QAbstractItemModelPrivate::invalidatePersistentIndex(QModelIndex const&)'
    .obj/qstandarditemmodel.o:qstandarditemmodel.cpp:function QStandardItemModel::QStandardItemModel(int, int, QObject*): error: undefined reference to 'QAbstractItemModelPrivate::QAbstractItemModelPrivate()'
    collect2: error: ld returned 1 exit status
    Makefile:1125: recipe for target '../../lib/libQt5Gui.so.5.7.1' failed
    make[2]: *** [../../lib/libQt5Gui.so.5.7.1] Error 1
    make[2]: Leaving directory '/home/user/raspi/qtbase/src/gui'
    Makefile:525: recipe for target 'sub-gui-make_first' failed
    make[1]: *** [sub-gui-make_first] Error 2
    make[1]: Leaving directory '/home/user/raspi/qtbase/src'
    Makefile:45: recipe for target 'sub-src-make_first' failed
    make: *** [sub-src-make_first] Error 2
    
    

    Do you know where is the problem?



  • I solved it. It was important that you have a clean installation of Raspbian. I have already installed some qt libraries and they was making a problems.



  • hi, i has same problem, i refresh raspberry, but issue also happen. please help me to solved issue. thanks u.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.