我们自制板为了优化开机速度,把文件系统替换为arago-base-tisdk-image-am335x-evm.tar.xz。原来使用的是tisdk-rootfs-image-am335x-evm.tar.xz,一切正常。
使用build sdk中的方法,编译出的qt相关ipk文件。如:
qtbase_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-dev_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-mkspecs_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-plugins_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-tools_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-staticdev_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
以上文件中tisdk-rootfs-image-am335x-evm.tar.xz安装时没有问题。在arago-base-tisdk-image-am335x-evm.tar.xz文件系统中安装出,报以下错误无法安装:
root@am335x-evm:~/qt5.11# ls
qtbase-dev_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-mkspecs_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-plugins_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-staticdev_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase-tools_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
qtbase_5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7_armv7at2hf-neon.ipk
standard_sql.db
root@am335x-evm:~/qt5.11# opkg install *.ipk
Collected errors:
* Solver encountered 4 problem(s):
* Problem 1/4:
* - nothing provides libfontconfig1 >= 2.12.6 needed by qtbase-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
*
* Solution 1:
* - do not ask to install qtbase-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
* Problem 2/4:
* - nothing provides libfontconfig1 >= 2.12.6 needed by qtbase-plugins-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
*
* Solution 1:
* - do not ask to install qtbase-plugins-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
* Problem 3/4:
* - nothing provides libfontconfig1 >= 2.12.6 needed by qtbase-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
*
* Solution 1:
* - do not ask to install qtbase-dev-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
* Problem 4/4:
* - nothing provides libfontconfig1 >= 2.12.6 needed by qtbase-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
*
* Solution 1:
* - do not ask to install qtbase-staticdev-5.11.3+git0+08de243eaa-r0.arago16.tisdk5.7.armv7at2hf-neon
我尝试搜索完整系统中有关libfontconfig有关的东西,拷贝到arago-base-tisdk-image-am335x-evm.tar.xz文件系统对应目录,还是同样错误无法安装。如下:
在/usr/lib/下拷贝:libfontconfig.so,libfontconfig.so.1,libfontconfig.so.1.10.1
在/var/lib/opkg/info/下拷贝:libfontconfig1.list, libfontconfig1.control, libfontconfig-dev.list, libfontconfig1.postinst, libfontconfig-dev.control
请问,应该如何解决这个问题安装上QT5,是否有libfontconfig1相关的ipk供安装或如何控制编译。