Important: Please read the Qt Code of Conduct -

Error Build Cross Compile Qt for Raspberry Pi V2 Model B on Ubuntu 14.04 LTS Desktop

  • Hi all,
    I tried to follow two website :


    I have done on configure but when did "make" command. It outputs the error :
    ".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
    make[3]: *** [../../lib/] Error 1
    make[3]: Leaving directory /home/test/raspi/qt-everywhere-opensource-src-5.7.0/qtbase/src/gui' make[2]: *** [sub-gui-make_first] Error 2 make[2]: Leaving directory/home/ispa/raspi/qt-everywhere-opensource-src-5.7.0/qtbase/src'
    make[1]: *** [sub-src-make_first] Error 2
    make[1]: Leaving directory `/home/ispa/raspi/qt-everywhere-opensource-src-5.7.0/qtbase'
    make: *** [module-qtbase-make_first] Error 2 "

  • Hi John

    Did you find the problem?

    I think I might be stuck on something similar.


Log in to reply