Qt with Neo2
Posted: Thu Mar 01, 2018 8:26 pm
Hi,
Is somebody compiling Qt applications for Neo2?
The procedure described on wiki with Qt 4.8.6 for H5 is probably obsolete
http://wiki.friendlyarm.com/wiki/index. ... LEC_Boards
The Allwinner H5 cross compiler (toolchain-a64) produces ELF32 images that don't run on Neo2 (nanopi-neo2_ubuntu-oled_4.14.0_20171297):
I wasn't able to install i386 version of that library.
The QtEmbedded-5.9.1-arch64 examples installed on that image are ELF64:
But I can't use QtEmbedded-5.9.1-arch64 because the cross compiler is not compatible with it.
Help would be appreciated. Thank you.
Is somebody compiling Qt applications for Neo2?
The procedure described on wiki with Qt 4.8.6 for H5 is probably obsolete
http://wiki.friendlyarm.com/wiki/index. ... LEC_Boards
The Allwinner H5 cross compiler (toolchain-a64) produces ELF32 images that don't run on Neo2 (nanopi-neo2_ubuntu-oled_4.14.0_20171297):
Code: Select all
# sudo ./QtE-Demo
./QtE-Demo: error while loading shared libraries: libts-1.0.so.0: wrong ELF class: ELFCLASS64
I wasn't able to install i386 version of that library.
The QtEmbedded-5.9.1-arch64 examples installed on that image are ELF64:
Code: Select all
# pwd
/usr/local/Trolltech/QtEmbedded-5.9.1-arch64/examples/gui/analogclock
# readelf -h analogclock | grep Class
Class: ELF64
But I can't use QtEmbedded-5.9.1-arch64 because the cross compiler is not compatible with it.
Help would be appreciated. Thank you.