Important: Please read the Qt Code of Conduct -

cross compile error

  • Hello!
    I tried to cross compile QT on ubuntu for raspberry Pi. After make install I got the following error:
    .rcc/qrc_retro_style.cpp:2459:8: error: expected ‘}’ at end of input
    .rcc/qrc_retro_style.cpp:2459:8: error: expected ‘,’ or ‘;’ at end of input
    Makefile:9451: recipe for target '.obj/qrc_retro_style.o' failed
    make[3]: *** [.obj/qrc_retro_style.o] Error 1
    make[3]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard/src/virtualkeyboard'
    Makefile:59: recipe for target 'sub-virtualkeyboard-install_subtargets' failed
    make[2]: *** [sub-virtualkeyboard-install_subtargets] Error 2
    make[2]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard/src'
    Makefile:58: recipe for target 'sub-src-install_subtargets' failed
    make[1]: *** [sub-src-install_subtargets] Error 2
    make[1]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard'
    Makefile:876: recipe for target 'module-qtvirtualkeyboard-install_subtargets' failed
    make: *** [module-qtvirtualkeyboard-install_subtargets] Error 2

    I dont know how to fix it. Can someone help me?

  • Lifetime Qt Champion

    Hi @tiagobr, welcome

    • which Qt version is that?
    • which version does the cross compiler have?
    • how does your configure command look like?


  • Hi,

    I am using QT 5.11.

    It was a build problem I gess. I did a Make Clean / Make Install and it worked.

    Thank You!

Log in to reply