Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error Build Cross Compile Qt for Raspberry Pi V2 Model B on Ubuntu 14.04 LTS Desktop
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 962 Views 1 Watching
  • 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.
  • John_QtJ Offline
    John_QtJ Offline
    John_Qt
    wrote on last edited by John_Qt
    #1

    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 "

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Cart_man
      wrote on last edited by
      #2

      Hi John

      Did you find the problem?

      I think I might be stuck on something similar.

      THanks

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved