[Qt-interest] QIconvCodec - iconv_open failed
Thiago Macieira
thiago at kde.org
Thu May 20 16:53:30 CEST 2010
Em Quinta-feira 20 Maio 2010, às 14:48:21, FIXED-TERM Muhammad Noor Mohamad
Njib (CR/ARE1) escreveu:
> Dear all,
>
> I am trying to install Qt X11 version directly on a Gumstix board. The
> reason for this is so that I can then use PyQt (since, from my questions
> there, it only works with the X11 version of Qt).
>
> After the installation process have ended, I tried to compile a "Hello
> world" program consisting of a button with Hello World. However, as I ran
> it, the following warnings occured
>
> QIconvCodec::convertFromUnicode : using ASCII for conversion, iconv_open
> failed QIconvCodec::convertToUnicode : using ASCII for conversion,
> iconv_open failed
>
> When the app appears, the text on the button appeared to be replaced with
> square boxes. Looking around, I noticed that iconv is not installed, and
> is part of the uclibc library, whereas I have the glibc-gconv. However,
> during configuration, the iconv test pass through (the POSIX iconv) and
> therefore subjected to be built. (I believe the configuration tests for
> the modules that is not specified by the flags, whether one can build it
> or not)
Your uclibc should provide a working iconv.
iconv(3) is part of POSIX.1-2001 and if yours doesn't work, it's something you
need to take up with your vendor.
The configure-time check is to check for the presence of the function, not if
it works at runtime. You can work around the issue by removing the iconv files
from your toolchain, so that Qt concludes that you don't have iconv.
> Also, another question I would like to ask. If one pass the -nomake tools
> flag, does that results in qmake will not be installed? How bout rcc and
> uic, will they be not installed as well
No, that's different.
That's about the tools in the tools top-subdirectory. qmake, moc, rcc and uic
and "bootstrapped" tools and they are in src/tools (well, qmake is in qmake).
Those are installed always.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100520/6d003730/attachment.bin
More information about the Qt-interest-old
mailing list