Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cannot run application - Qt5 - Linux Embedded - QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed, Illegal instruction
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    perez.sgo
    wrote on 6 Sept 2013, 19:35 last edited by
    #1

    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

    1 Reply Last reply
    0
    • P Offline
      P Offline
      perez.sgo
      wrote on 6 Sept 2013, 19:47 last edited by
      #2

      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

      1 Reply Last reply
      0

      1/2

      6 Sept 2013, 19:35

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved