Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Build Qt5.1 on Raspberry

    Installation and Deployment
    2
    4
    1590
    Loading More Posts
    • 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.
    • mrdebug
      mrdebug last edited by

      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 Reply Quote 0
      • L
        leon.anavi last edited by

        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 Reply Quote 0
        • mrdebug
          mrdebug last edited by

          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 Reply Quote 0
          • mrdebug
            mrdebug last edited by

            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 Reply Quote 0
            • First post
              Last post