Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

build QT 5.6 raspberry pi problems



  • hello, i try to build qt with this tutorial:
    https://wiki.qt.io/RaspberryPi_Beginners_Guide

    i have this problems when i build "make" qt few hours:
    [quote]
    nelinearindex_p.o .obj/moc_qgraphicswidget.o .obj/moc_qgraphicsanchorlayout.o .obj/moc_qcompleter_p.o .obj/moc_qsystemtrayicon_p.o .obj/moc_qscroller.o .obj/moc_qscroller_p.o .obj/moc_qflickgesture_p.o .obj/moc_qundogroup.o .obj/moc_qundostack.o .obj/moc_qundostack_p.o .obj/moc_qundoview.o .obj/moc_qkeyeventtransition.o .obj/moc_qmouseeventtransition.o .obj/moc_qbasickeyeventtransition_p.o .obj/moc_qbasicmouseeventtransition_p.o .obj/moc_qgraphicseffect.o .obj/moc_qgraphicseffect_p.o .obj/moc_qpixmapfilter_p.o -L/mnt/root/opt/vc/lib -L/home/thibaud/Bureau/qt5/qtbase/lib -lQt5Gui -lQt5Core -lpthread -lGLESv2
    .obj/qmessagebox.o: file not recognized: File truncated
    collect2: error: ld returned 1 exit status
    Makefile:1088 : la recette pour la cible « ../../lib/libQt5Widgets.so.5.6.0 » a échouée
    make[3]: *** [../../lib/libQt5Widgets.so.5.6.0] Erreur 1
    make[3] : on quitte le répertoire « /home/thibaud/Bureau/qt5/qtbase/src/widgets »
    Makefile:629 : la recette pour la cible « sub-widgets-make_first » a échouée
    make[2]: *** [sub-widgets-make_first] Erreur 2
    make[2] : on quitte le répertoire « /home/thibaud/Bureau/qt5/qtbase/src »
    Makefile:45 : la recette pour la cible « sub-src-make_first » a échouée
    make[1]: *** [sub-src-make_first] Erreur 2
    make[1] : on quitte le répertoire « /home/thibaud/Bureau/qt5/qtbase »
    Makefile:81 : la recette pour la cible « module-qtbase-make_first » a échouée
    make: *** [module-qtbase-make_first] Erreur 2
    [/quote]

    can you help me please?
    thank's


  • Lifetime Qt Champion

    Hi,

    Did you interrupt a build at some point ?

    One thing you can do is delete the offending file and restart the build.



  • file is qmessagebox.o?


  • Lifetime Qt Champion

    Yes, since it's the one triggering the error.


Log in to reply