Important: Please read the Qt Code of Conduct -

Build failure: Qt 5.2.1 for IMX53 cannot find -lQt5PlatformSupport

  • Hi,

    Qt 5.2.1 release build is failing due to shared library not being found by the linker during build.

    I confirmed Qt5PlatformSupport successfully builds but does not create a shared library.

    arm-none-linux-gnueabi-g++ -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,<I removed directory path for privacy>/lib -shared -o .obj/main.o .obj/qminimalintegration.o .obj/qminimalbackingstore.o -L,<I removed directory path for privacy>/rootfs/usr/lib -L<I removed directory path for privacy>/qtbase/lib -lQt5PlatformSupport -lz -lgmodule-2.0 -lgobject-2.0 -lts -lgstreamer-0.10 -lxml2 -lasound -lgsl-fsl -lfreetype -pthread -lgthread-2.0 -lrt -lglib-2.0 -lEGL -lQt5Network -lQt5Gui -lQt5Core -lGLESv2 -lpthread

    /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -lQt5PlatformSupport
    collect2: ld returned 1 exit status

    Would appreciate any help.


Log in to reply