cross compile error
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: *** [.obj/qrc_retro_style.o] Error 1
make: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard/src/virtualkeyboard'
Makefile:59: recipe for target 'sub-virtualkeyboard-install_subtargets' failed
make: *** [sub-virtualkeyboard-install_subtargets] Error 2
make: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard/src'
Makefile:58: recipe for target 'sub-src-install_subtargets' failed
make: *** [sub-src-install_subtargets] Error 2
make: 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?
Hi @tiagobr, welcome
- which Qt version is that?
- which version does the cross compiler have?
- how does your configure command look like?
I am using QT 5.11.
It was a build problem I gess. I did a Make Clean / Make Install and it worked.