summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_emb-crosscompiling.qdoc
blob: 3791bfc26509be5e035537dcadafddb7cf2a2eb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//! [0]
export PATH=path/to/cross/compiler:$PATH
//! [0]


//! [1]
./configure -embedded arm -xplatform qws/linux-arm-g++ <other options>
//! [1]


//! [2]
cp path/to/QtEmbedded/mkspecs/qws/linux-mips-g++/...
   path/to/QtEmbedded/mkspecs/qws/linux-myarchitecture-g++/...
//! [2]


//! [3]
cd path/to/QtEmbedded
./configure -embedded <architecture> -qt-kbd-<keyboarddriver>
            -qt-mouse-<mousedriver> -qt-gfx-<screendriver>
//! [3]


//! [4]
cd path/to/QtEmbedded
./configure  <other options>
             -L /path/to/libjpeg/libraries -I /path/to/libjpeg/headers
//! [4]


//! [5]
cd path/to/myApplication
qmake -project
qmake
make
//! [5]