[Interest] Qt5 cross-compilation problem

Amey Patil amey.patil at sjsu.edu
Tue Sep 9 03:01:04 CEST 2014


Hello,

I cross-compiled Qt5 from source. Using following command.

./configure -xplatform linux-arm-gnueabi-g++ -opensource -confirm-license
-qreal float -no-largefile -no-accessibility -no-nis -no-cups -no-qml-debug
-no-mtdev -no-sql-sqlite -nomake examples -qt-zlib  -release

Then I copied the cross-compiled Qt5 libraries to the beaglebone black in
the /usr/lib directory.

When I deployed my application (cross compiled using the qmake which i got
from the cross-compilation of Qt5 from source) from Qtcreator, I got
following error.

QIconvCodec::convertToUnicode: using Latin-1 for conversion,
iconv_open failedQIconvCodec::convertFromUnicode: using Latin-1 for
conversion, iconv_open failedThis application failed to start because
it could not find or load the Qt platform plugin "xcb".Reinstalling
the application may fix this problem.sh: line 1:   729 Aborted
        DISPLAY=:0.0 QWS_MOUSE_PROTO=LinuxInput:/dev/input/event1
/home/root/pwm -qwsApplication finished with exit code 134.

To avoid it I added the following option to the ./configure command

-no-xcb

Still I am getting the same error.

Application is getting deployed properly, it is just not getting executed.

Please help.....

Sincere Regards,
Amey Patil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140908/016b1af2/attachment.html>


More information about the Interest mailing list