Important: Please read the Qt Code of Conduct -

cannot find -lqconnmanbearer -lqgenericbearer and -lqnmbearer

  • Hi, I'm trying to crosscompile an app to a Beagleboard-xm and the compiler is througing this error:

    home/antonio/Aplicaciones/crosscompile/gcc-linaro/bin/../lib/gcc/armv8l-linux-gnueabihf/6.3.1/../../../../armv8l-linux-gnueabihf/bin/ld: cannot find -lqconnmanbearer
    /home/antonio/Aplicaciones/crosscompile/gcc-linaro/bin/../lib/gcc/armv8l-linux-gnueabihf/6.3.1/../../../../armv8l-linux-gnueabihf/bin/ld: cannot find -lqgenericbearer
    Makefile:257: recipe for target 'vordi_server' failed
    /home/antonio/Aplicaciones/crosscompile/gcc-linaro/bin/../lib/gcc/armv8l-linux-gnueabihf/6.3.1/../../../../armv8l-linux-gnueabihf/bin/ld: cannot find -lqnmbearer
    collect2: error: ld returned 1 exit status
    make: *** [vordi_server] Error 1

    I have compile Qt 5.8 for the Beagle platform using:

        ../configure -static -release -opengl es2 -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/directory_for_linaro/linaro/gcc-linaro/bin/armv8l-linux-gnueabihf- -sysroot /directory_for_sysrrot/sysroot/sysroot -prefix /opt/Qt-beagle -no-opengl -qt-zlib -qt-libjpeg -qt-libpng -qt-xcb -qt-freetype -qt-pcre -qt-harfbuzz -nomake examples -nomake tests

    And configure Qt Creator to use the Beagle Kit.
    I tried to edit the .pro file and recompile Qt, but nothing I did work.

  • Lifetime Qt Champion


    Looks like the network plugins are missing. Are you sure they where built ?

  • @SGaist Thanks for your quick response. It looks like. I will try to compile again and update the thread with the result.

  • Sorry for the late replay. I rebuild qt and the error was solved. Thank @SGaist.

    The instruction I used to compile qt was:

    ./configure -release -opengl es2 -device linux-beagleboard-g++ -device-option CROSS_COMPILE=/home/user/linaro_directory/gcc-linaro/bin/armv8l-linux-gnueabihf- -sysroot /home/user/sysroot_directory/sysroot -prefix /opt/Qt-beagle -no-opengl -qt-zlib -qt-libjpeg -qt-libpng -qt-xcb -qt-freetype -qt-pcre -qt-harfbuzz -nomake examples -nomake tests

Log in to reply