Cannot run application - Qt5 - Linux Embedded - QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed, Illegal instruction



  • Hi,

    i'm trying to run a demo application to check if my Qt5's configuration and installation is ok, but cannot figure out the problem. The output it's always the same:
    @QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
    QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
    Illegal instruction@
    I run the application with the following script:
    @#!/bin/sh
    appname=basename $0 | sed s,\.sh$,,

    dirname=dirname $0
    tmp="${dirname#?}"

    if [ "${dirname%$tmp}" != "/" ]; then
    dirname=$PWD/$dirname
    fi
    LD_LIBRARY_PATH=$dirname
    export LD_LIBRARY_PATH
    $dirname/$appname "$@"@

    The libraries files are copied to the folder where the compiled program is. I cannot run it without the script, because otherwise it cannot find the libraries:
    @./analogclock: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory@
    The demo i'm trying to run is analogclock. Also tried another ones, with no succes.

    Any help please?. Thanks in advance,

    Santiago



  • Adding the QT_DEBUG_PLUGINS=1 flag, the output while executing the program is:
    @QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
    QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt5.1.0-ARM-sgo/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt5.1.0-ARM-sgo/plugins/platforms/libqlinuxfb.so"
    Illegal instruction@

    Regards,

    Santiago


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.