?16? QT/Embedded - PowerPoint PPT Presentation

About This Presentation
Title:

?16? QT/Embedded

Description:

16 QT/Embedded QT/Embedded QT/Embedded QT/Embedded QT/Embedded Trolltech ... – PowerPoint PPT presentation

Number of Views:78
Avg rating:3.0/5.0
Slides: 17
Provided by: negi
Category:
Tags: embedded | what

less

Transcript and Presenter's Notes

Title: ?16? QT/Embedded


1
?16? QT/Embedded
2
? ?
  • QT/Embedded ??
  • QT/Embedded ??
  • QT/Embedded ?????? ??

3
QT/Embedded ? ??
  • ??
  • Trolltech??? ??
  • ????? ???? ??? ??? 1Mbytes 5Mbytes??
  • ?? ???
  • i386, ARM, MIPS, PowerPC, MC68000
  • Framebuffer? ???? X11? ??? ??.

4
QT/Embedded ??
  • QT/Embedded ?? ? ????
  • - ????
  • ftp//ftp.trolltech.com/qt/source
  • - ??? ??.
  • tar xvfz qt-embedded-3.3.3.tar.bz2

5
QT/Embedded ??
  • ????
  • host
  • QTDIR Qt? ???? ?? ????
  • LD_LIBRARY_PATH Qt?? ???? ?? ??????
    ?? ????
  • /.bash_profile ? ?? ?, ??
  • source  /.bash_profile ??

PATHPATHHOME/bin export QTDIR/root/qt/qte-3.3.3 export PATHQTDIR/binPATH export LD_LIBRARY_PATHLD_LIBRARY_PATHQTDIR/lib
6
QT/Embedded ??
  • ????? ?????
  • ????? ???? ?? /dev/ts? ????? ??

/qte-3.3.3 vi /src/embedded/qmouselinuxtp_qws.cpp
7
QT/Embedded ??
  • Configuration
  • Makefile ??
  • allsymlinks src-qmake src-moc sub-src?
    ??? tools, exampes
  • ?? ????.

8
QT/Embedded ??
  • Qt/Embedded Configuration
  • ./configure embedded ipaq shared depths
    16 thread
  • -no-cups qt-mouth-linuxtp
  • configure ??
  • - shared ???????? ???? ??? ?
  • - static ???????? ???? ??? ?
  • - release ???
  • - debug ??? ?? ???
  • Configure ??
  • - ????? ??? yes

9
QT/Embedded ??
  • ????? ??? Embedded ipaq??? ????? ? ???build
    type?? ??? ?? ???.
  • Build on    qws/linux-x86-g
  • Build for   qws/linux-ipaq-q

10
QT/Embedded ??
  • ???
  • ????? ??
  • - ???? ??qt_libstdc-3libc6.1.2.2.10.0.so
  • - ???? ??? ??? ??

11
QT/Embedded ??
  • UIB, QVFB??
  • ????http//www.hybus.ent /???/????/? ??
  • QT??? /root/qt? ?? ???.
  • ??? ?? ??? ???? ???? ??

/bin cp /root/qt/uic ./ /bin cp /root/qt/qvfb ./ /bin chmod ux uic //?? ?? ?? /bin chmod ux qvfb //?? ?? ??
12
QT/Embedded ??
  • ??? ??
  • make
  • ???? ???? Qt/Embedded ?????? ??
  • cd QTDIR/lib
  • /lib ll
  • /lib file libqte-mt.so.3.3.3
  • ?? 4? ??? ???? ??

13
QT/Embedded ?????? ??
  • QT/Embedded ?????? ???
  • ?? ?? ????? ????? ??????. ?? qte-3.3.3 ???? ??
  •    /root/qt-3.3.3/examples/hello/? ?? hello ?????
    ????? ?????
  • ???.
  • make //???
  • file hello //file ???? ARM ??? ???? ?? ???
    ????.
  • 'libqte-mt.so.3.3.3 ELF 32-bit LSB shared
    object, ARM, version 1 (ARM), not

14
QT/Embedded ?????? ??
  • nfs ??
  • ???? qt-3.3.3 ????? /qt_libstdc-3-libc6.1-2-
    10.0.so
  • ? ?????? ???? nfs ????? ????. ??
    ???????????.
  • ????? QT/Embedded ?? ??
  • export QTDIR/mnt/nfs/qte-3.3.3
  •  export LD_LIBRARY_PATH/mnt/nfs/qte-3.3.3/lib
    LD_LIBRARY_PATH export
    QWS_MOUSE_PROTOlinuxtp/dev/ts
  • ?? 3?? ??? export ????.

15
QT/Embedded ?????? ??
  • ARM ????? ??
  • ??? ???? /mnt/nfs/ qt_libstdc-3-libc6.1-2-10
    .0.so? ??? ????.

16
QT/Embedded ?????? ??
  • ?? ???? ??
  • X-server ??? ??? ?? ?? ???.
  • kill -9 x-server daemon
  • ?? ??? ?? ?? ????? ???? ?? ????? ????.
  •    
  •     /root cd /mnt/nfs/qte-3.3.3/examples/hello
  •     /hello ./hello -qws
  • ????? ????? ????? ????? ?? LCD? "Hello
    World"?? ??
  • ?? ????.
Write a Comment
User Comments (0)
About PowerShow.com