Important: Please read the Qt Code of Conduct - not found when making examples

  • Hi there,
    I'm crosscompiling QT5.3 for an Amlogic board. The configuration for cross-compiling the libs is done using:

    @./configure -v -opengl es2 -device linux-arm-amlogic-8726M-g++ -device-option CROSS_COMPILE=arm-linux-gnueabi- -sysroot /root/rootfs_armel_jessie_lib_ex/ -make libs -opensource -confirm-license -no-xcb@

    I have no problem whatsoever in compiling libraries, and at the end of compilation I correctly find the libQt* in /usr/local/Qt-5.3.0/

    The problem is when I try to compile also the examples using again:

    @./configure -v -opengl es2 -device linux-arm-amlogic-8726M-g++ -device-option CROSS_COMPILE=arm-linux-gnueabi- -sysroot /root/rootfs_armel_jessie_lib_ex/ -make examples -opensource -confirm-license -no-xcb@

    During compilation I have a lot of messages saying:

    @ld: warning:, needed by /root/qt5/qtbase/lib/, not found (try using -rpath or -rpath-link)@

    obviously at the end I also get an error for unresolved symbols even thought is correctly in /usr/lib in the sysroot (libs are compiled fine).
    If I compile libs and examples statically I don't get any error and, of course, playing with -rpath doesn't seem to solve the problem.

    Any idea? Thanks,

Log in to reply