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. Build Qt5.1 on Raspberry

Build Qt5.1 on Raspberry

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 1.8k Views
  • 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Hi everybody. I have a problem on building Qt on Raspberry Pi.
    The building end with an error after many hours of work. I obtain this error:

    -opensource-src-5.1.0/qtmultimedia/lib -lQt5Multimedia -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Gui -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Network -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread -lQt5Qml -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Network -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lpthread -lQt5Sql -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Gui -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Network -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Core -lpthread -lpthread -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtsensors/lib -lQt5Sensors -L/home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5Core -lpthread -lpthread -lQt5Core -lpthread -lGL
    /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtwebkit/Source/WebCore//libWebCore.a: member /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtwebkit/Source/WebCore//.obj/release-shared/html/ValidationMessage.o in archive is not an object
    collect2: ld returned 1 exit status
    make[3]: *** [../lib/libQt5WebKit.so.5.1.0] Error 1
    make[3]: Leaving directory /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtwebkit/Source' make[2]: *** [sub-api-pri-make_first-ordered] Error 2 make[2]: Leaving directory /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtwebkit/Source'
    make[1]: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
    make[1]: Leaving directory /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtwebkit' make: *** [module-qtwebkit-make_first] Error 2 cd qtbase/ && ( test -e Makefile || /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/bin/qmake /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/qtbase.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase'
    cd src/ && ( test -e Makefile || /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/bin/qmake /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/src/src.pro -o Makefile ) && make -f Makefile
    make[2]: Entering directory /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/src' cd tools/bootstrap/ && ( test -e Makefile || /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/bin/qmake /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/src/tools/bootstrap/bootstrap.pro -o Makefile ) && make -f Makefile make[3]: Entering directory /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/src/tools/bootstrap'
    make[3]: Nothing to be done for first'. make[3]: Leaving directory /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/src/tools/bootstrap'
    cd tools/moc/ && ( test -e Makefile || /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/bin/qmake /home/pi/Qt/qt-everywhere-opensource-src-5.1.0/qtbase/src/tools/moc/moc.pro -o Makefile ) && make -f Makefile
    ^Cmake[2]: *** [sub-moc-make_first] Interruzione
    make[1]: *** [sub-src-make_first] Interruzione
    make: *** [module-qtbase-make_first] Interruzione

    pi@raspberrypi ~/Qt/qt-everywhere-opensource-src-5.1.0 $

    I start the build using ./configure -no-xcb; make

    Does anybody have compile Qt5.1 on Raspberry without any problem? Is a ram available related problem?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Seems like you have an issues with the Qt Webkit. You can check for hints at the wiki article about "native build of Qt 5 on a Raspberry Pi":http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi

      http://anavi.org/

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        Does not work for me. Build Qt on Raspberry requires many days and, near the end still I obtain errors.
        I think is a nice idea that Digia would build Qt for Raspberry officially or somebody would build it for us.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        1 Reply Last reply
        0
        • mrdebugM Offline
          mrdebugM Offline
          mrdebug
          wrote on last edited by
          #4

          Removing the webkit directories is possible to compile Qt only with

          ./configure
          make

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

          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