Cannot build QT 5.4.0 for Arm platform, need help!
-
Im on compiling QT 5.4.0 for Arm platform and getting this error relative to the compiler:
arm-2014.05/bin/arm-none-linux-gnueabi-g++ -Wl,-rpath-link=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/sdk/lib -Wl,-O1 -o egl egl.o -L/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/sdk/lib --sysroot=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/reference_ui/../../application/sdk -lEGL arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crt1.o: No such file or directory arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crti.o: No such file or directory arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lEGL arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lstdc++ arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lm arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgcc_s arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lc arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgcc_s /home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/build/tools/arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:208: egl] Error 1 EGL disabled. WARNING: Unable to find file .device.vars No QPA platform plugin enabled! If you really want to build without a QPA platform plugin you must pass -no-qpa-platform-guard to configure. Doing this will produce a Qt that can not run GUI applications. The dependencies needed for xcb to build are listed in src/plugins/platforms/xcb/README
The command configuration
./configure --prefix=/opt/qt-5.4.0 -v -device linux-arm-sunplus-83xx -device-option CROSS_COMPILE=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/build/tools/arm-2014.05/bin/arm-none-linux-gnueabi- -release -sysroot /home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/reference_ui/../../application/sdk -opensource -confirm-license -system-freetype -directfb -largefile -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -no-sse2 -no-pulseaudio -qt-sql-sqlite -no-opengl -no-eglfs -nomake examples -dbus-linked -dbus -qreal float
I have the sdk and qt library already release. Now i want to add some source and into the library and update the version qt to 5.4.0. I have no sure about the "sysroot" folder, so I put it as the application. As the library, it has some file like qconfig.prj qdevice.prj. qfeature.pri and qmodule.pri. Could I able to use those file config and build the source with the "mkspecs" folder release in the sdk?.
the package "directfb, evdev" is force to have -
Im on compiling QT 5.4.0 for Arm platform and getting this error relative to the compiler:
arm-2014.05/bin/arm-none-linux-gnueabi-g++ -Wl,-rpath-link=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/sdk/lib -Wl,-O1 -o egl egl.o -L/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/sdk/lib --sysroot=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/reference_ui/../../application/sdk -lEGL arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crt1.o: No such file or directory arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crti.o: No such file or directory arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lEGL arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lstdc++ arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lm arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgcc_s arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lc arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgcc_s /home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/build/tools/arm-2014.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find crtn.o: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:208: egl] Error 1 EGL disabled. WARNING: Unable to find file .device.vars No QPA platform plugin enabled! If you really want to build without a QPA platform plugin you must pass -no-qpa-platform-guard to configure. Doing this will produce a Qt that can not run GUI applications. The dependencies needed for xcb to build are listed in src/plugins/platforms/xcb/README
The command configuration
./configure --prefix=/opt/qt-5.4.0 -v -device linux-arm-sunplus-83xx -device-option CROSS_COMPILE=/home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/build/tools/arm-2014.05/bin/arm-none-linux-gnueabi- -release -sysroot /home/thanhson/Desktop/gitlab/8368-u_soc_invehicle_infotainment/application/reference_ui/../../application/sdk -opensource -confirm-license -system-freetype -directfb -largefile -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -no-sse2 -no-pulseaudio -qt-sql-sqlite -no-opengl -no-eglfs -nomake examples -dbus-linked -dbus -qreal float
I have the sdk and qt library already release. Now i want to add some source and into the library and update the version qt to 5.4.0. I have no sure about the "sysroot" folder, so I put it as the application. As the library, it has some file like qconfig.prj qdevice.prj. qfeature.pri and qmodule.pri. Could I able to use those file config and build the source with the "mkspecs" folder release in the sdk?.
the package "directfb, evdev" is force to have -
@devQt93 said in Cannot build QT 5.4.0 for Arm platform, need help!:
QT 5.4.0
QT 5.4.0 is too old. Try 5.15.3 or above.
-
@JoeCFD the qt library release from our supplier has version 5.3.2. I dont expect to change alot in qt platform library as the application already worked well.
Honestly, I just want to add the feature absolute touch screen handling in evdevmouse -