1 /****************************************************************************
3 ** Copyright (C) 2015 The Qt Company Ltd.
4 ** Contact: http://www.qt.io/licensing/
6 ** This file is part of the documentation of the Qt Toolkit.
8 ** $QT_BEGIN_LICENSE:BSD$
9 ** You may use this file under the terms of the BSD license as follows:
11 ** "Redistribution and use in source and binary forms, with or without
12 ** modification, are permitted provided that the following conditions are
14 ** * Redistributions of source code must retain the above copyright
15 ** notice, this list of conditions and the following disclaimer.
16 ** * Redistributions in binary form must reproduce the above copyright
17 ** notice, this list of conditions and the following disclaimer in
18 ** the documentation and/or other materials provided with the
20 ** * Neither the name of The Qt Company Ltd nor the names of its
21 ** contributors may be used to endorse or promote products derived
22 ** from this software without specific prior written permission.
25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27 ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28 ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29 ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30 ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31 ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32 ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33 ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
39 ****************************************************************************/
43 gunzip qt-everywhere-opensource-src-%VERSION%.tar.gz # uncompress the archive
44 tar xvf qt-everywhere-opensource-src-%VERSION%.tar # unpack it
49 cd /tmp/qt-everywhere-opensource-src-%VERSION%
65 PATH - to locate qmake, moc and other Qt tools
70 PATH=/usr/local/Trolltech/Qt-%VERSION%/bin:$PATH
76 setenv PATH /usr/local/Trolltech/Qt-%VERSION%/bin:$PATH
81 PATH - to locate qmake, moc and other Qt tools
93 configure -platform win32-msvc
104 gunzip qt-everywhere-opensource-src-%VERSION%.tar.gz # uncompress the archive
105 tar xvf qt-everywhere-opensource-src-%VERSION%.tar # unpack it
110 cd /tmp/qt-everywhere-opensource-src-%VERSION%
121 sudo make -j1 install
126 PATH - to locate qmake, moc and other Qt tools
131 PATH=/usr/local/Trolltech/Qt-%VERSION%/bin:$PATH
137 setenv PATH /usr/local/Trolltech/Qt-%VERSION%/bin:$PATH
142 PATH - to locate qmake, moc and other Qt tools
149 configure -platform win32-msvc2005 -xplatform wincewm50pocket-msvc2005
154 set INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\ce\include;C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i
155 set LIB=C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib\armv4i;C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Lib\ARMV4I
156 set PATH=C:\Program Files\Microsoft Visual Studio 8\VC\ce\bin\x86_arm;%PATH%
161 setcepaths wincewm50pocket-msvc2005
172 configure -platform win32-g++ -xplatform symbian-abld
199 make sis QT_SIS_OPTIONS=-i QT_SIS_CERTIFICATE=<certificate file> QT_SIS_KEY=<certificate key file>
200 cd ..\3rdparty\webkit\WebCore
201 make sis QT_SIS_OPTIONS=-i QT_SIS_CERTIFICATE=<certificate file> QT_SIS_KEY=<certificate key file>
205 cd demos\embedded\fluidlauncher
206 make sis QT_SIS_OPTIONS=-i
211 configure -platform win32-g++ -xplatform symbian-sbsv2
215 cd <Your SDK path>\S60CppExamples\Note\group
217 abld build winscw udeb
222 SYMBIANBUILD_DEPENDENCYOFF=1
227 make sis QT_SIS_OPTIONS=-i
228 cd ..\3rdparty\webkit\WebCore
229 make sis QT_SIS_OPTIONS=-i
234 patch_capabilities.pl Qt_template.pkg release-armv5 "ALL -Tcb -AllFiles -DRM"
235 make sis QT_SIS_OPTIONS=-i QT_SIS_CERTIFICATE=<certificate file> QT_SIS_KEY=<certificate key file>
236 cd ..\3rdparty\webkit\WebCore
237 patch_capabilities.pl QtWebKit_template.pkg release-armv5 "ALL -Tcb -AllFiles -DRM"
238 make sis QT_SIS_OPTIONS=-i QT_SIS_CERTIFICATE=<certificate file> QT_SIS_KEY=<certificate key file>
242 EPOCROOT=/home/user/s60-sdk/
247 PATH=/home/user/qt/%VERSION%/bin:$EPOCROOT/epoc32/tools:$PATH
252 cd /home/user/qt/%VERSION%
253 ./configure -platform linux-g++ -xplatform symbian-armcc
257 cd /home/user/qt/%VERSION%
258 ./configure -platform linux-g++ -xplatform symbian-gcce -no-webkit
272 patch_capabilities.pl Qt_template.pkg - "ALL -Tcb -AllFiles -DRM"
273 make sis QT_SIS_CERTIFICATE=<certificate file> QT_SIS_KEY=<certificate key file>
274 cd ../3rdparty/webkit/WebCore
275 patch_capabilities.pl QtWebKit_template.pkg - "ALL -Tcb -AllFiles -DRM"
276 make sis QT_SIS_CERTIFICATE=<certificate file> QT_SIS_KEY=<certificate key file>
285 sudo modprobe usbserial vendor=0x0XXX product=0x0XXX
291 Using Qt version 4.6.2 in /usr/lib/qt4
301 runonphone -s lib/Qt.sis
304 //! [runonphone with device file path]
305 runonphone -s lib/Qt.sis -p /dev/ttyUSB1
306 //! [runonphone with device file path]
309 cd demos/embedded/fluidlauncher
310 runonphone -s fluidlauncher.sis fluidlauncher.exe
313 //! [make runonphone with options]
314 make runonphone "QT_RUN_ON_PHONE_OPTIONS=-p /dev/ttyUSB1"
315 //! [make runonphone with options]
317 //! [make runonphone with preset environment variable]
318 export QT_RUN_ON_PHONE_OPTIONS="-p /dev/ttyUSB1"
320 //! [make runonphone with preset environment variable]
327 runonphone -s myapp.sis myapp.exe
331 src/s60installs/sqlite3.sis
332 $EPOCROOT/nokia_plugin/openc/s60opencsis/openc_ssl_s60_1_6_ss.sis
333 $EPOCROOT/nokia_plugin/openc/s60opencsis/pips_s60_1_6_ss.sis
334 $EPOCROOT/nokia_plugin/opencpp/s60opencppsis/stdcpp_s60_1_6_ss.sis