Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.7, 5.11.2, 5.12.0 RC2
-
-
978987981ac1ad0689e042cc241c1732496b59bb (qt/qtbase/5.12)
Description
- install B2Qt environment
- build static Qt using it:
./configure -v -confirm-license -sysroot /home/kapinter/Qt/5.11.2/Boot2Qt/nitrogen6x/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi -prefix /work6/Qt/bin/Qt-imx6-static -opengl es2 -xplatform devices/linux-imx6-g++ -skip qt3d -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtgamepad -skip qtlocation -skip qtmacextras -skip qtnetworkauth -skip qtpurchasing -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtspeech -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtxmlpatterns -nomake examples -nomake tests -commercial -static -qml-debug -alsa -v -device-option CROSS_COMPILE=/home/kapinter/Qt/5.11.2/Boot2Qt/nitrogen6x/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
- build qt example animatedtiles and linker gives errors:
/home/kapinter/Qt/5.11.2/Boot2Qt/nitrogen6x/toolchain/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/6.4.0/real-ld: cannot find -lqeglfs /home/kapinter/Qt/5.11.2/Boot2Qt/nitrogen6x/toolchain/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/6.4.0/real-ld: cannot find -lqwayland-egl /home/kapinter/Qt/5.11.2/Boot2Qt/nitrogen6x/toolchain/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/6.4.0/real-ld: cannot find -lqwayland-generic /home/kapinter/Qt/5.11.2/Boot2Qt/nitrogen6x/toolchain/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/6.4.0/real-ld: cannot find -lqgif /home/kapinter/Qt/5.11.2/Boot2Qt/nitrogen6x/toolchain/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/6.4.0/real-ld: cannot find -lqicns /home/kapinter/Qt/5.11.2/Boot2Qt/nitrogen6x/toolchain/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/6.4.0/real-ld: cannot find -lqico
Workaround is to add the missing plugins to the pro file with LIBS+=