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 :

    1. https://www.ics.com/blog/configuring-qt-creator-raspberry-pi
      2.https://wiki.qt.io/RaspberryPi2EGLFS

    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/libQt5Gui.so.5.7.0] 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.

    THanks


Log in to reply
 

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