The cross-Compilation Method for adding JPEG libraries to QT-embedded for ARM
Download jpegsrc.v6b.tar.gz
Extract
Tar-xzf restart src.v6b.tar.gz
CD jpeg-6b
[Root @ SJTU-LIUJIAN jpeg-6b] #./configure -- enable-shared
[Root @ SJTU-LIUJIAN] # Make
Modify the generated makefile:
Prefix = QT-embeddedd folder path (eg:/home/qt-2.3.10)
Cc =/usr/local/ARM/2.95.3/bin/ARM-Linux-gcc
AR =/usr/local/ARM/2.95.3/bin/ARM-Linux-ar RC
AR2 =/usr/local/ARM/2.95.3/bin/ARM-Linux-ranlib
Save
Create a man/Man1 file house in your QT-Embedded file. Otherwise, an error occurs when installing the JPEG library.
[Root @ SJTU-LIUJIAN jpeg-6b] # mkdir-P qt-2.3.10/man/Man1
Finally:
[Root @ SJTU-LIUJIAN] # make install
You can add the libjpeg library for arm to QT-embedded.
Copy a copy in the following directory:
/Usr/local/ARM/2.95.3/ARM-Linux/lib
US Mission registration! US Mission registration website! Buy a group once a day and enjoy the value of life! Http://www.meituan.com/r/i343002
Http://www.meituan.com/r/i343002
Glutinous rice group purchase registration:
Http://www.nuomi.com/ I /c6HynZn5bk
Http://www.nuomi.com/ I /c6HynZn5bk