启动使用 QML 的 Qt Embedded 应用程序时,我不断收到以下错误。从谷歌搜索看来,我需要将图像加载插件添加到我的嵌入式系统导出的 nfs 中。所以我试图将它们添加几个地方,但我不断收到错误。我将嵌入式 ARM 版本的 libqsvg.so 添加到以下位置,但仍然出现错误...
/home/user/exported-nfs/lib/plugins/imageformats/libqsvg.so
/home/user/exported-nfs/plugins/imageformats/libqsvg.so
/home/user/exported-nfs/usr/bin/plugins/imageformats/libqsvg.so
/home/user/exported-nfs/usr/lib/plugins/imageformats/libqsvg.so
/home/user/exported-nfs/usr/plugins/imageformats/libqsvg.so
这也不起作用:
export QT_PLUGIN_PATH=/usr/plugins:/usr/plugins/imageformats
echo $QT_PLUGIN_PATH
我怎样才能解决这个问题??我需要放置插件以便找到它们的正确位置在哪里?
错误:
警告:file:///usr/share/maliit/plugins/org/nemomobile/FunctionKey.qml:98:5:QML 图像:错误解码:file:///usr/share/maliit/plugins/org/nemomobile/ icon-m-input-methods-backspace.svg:不支持的图像格式
警告:file:///usr/share/maliit/plugins/org/nemomobile/FunctionKey.qml:98:5:QML 图像:错误解码:文件: ///usr/share/maliit/plugins/org/nemomobile/icon-m-input-methods-shift-lowercase.svg:不支持的图像格式
警告:file:///usr/share/maliit/plugins/org/nemomobile /FunctionKey.qml:98:5:QML 图像:解码错误:file:///usr/share/maliit/plugins/org/nemomobile/icon-m-input-methods-backspace.svg:不支持的图像格式