📄 buildqtopiadesktop.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/doc/buildqtopiadesktop.doc:1 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Instructions for Building Qtopia Desktop</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font> <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="137"> <tr> <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td> <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td> </tr> </table></td></tr></table><h1 align=center>Instructions for Building Qtopia Desktop</h1><p> Contents<!-- toc --><ul><li><a href="#1"> Introduction</a><li><a href="#2"> Windows</a><li><a href="#3"> Linux</a></ul><!-- endtoc --><p> <h2> Introduction</h2><a name="1"></a><p> This document describes sets out instructions for the building of Qtopia Desktop.<p> <h2> Windows</h2><a name="2"></a><p> <ol type=1> <li> Qt 3.2.1 and commercial source code for Qtopia are required to build Qtopia Desktop.Download and install Qt 3.2.1 for windows with default settings,(ie install to c:\qt\3.2.1, substitute below if different)<li> From a command prompt,<br><br>If QMAKESPEC has not been set, set QMAKESPECappropriately for the compiler that is to be used.<br>For MS Visual C++:<br><pre> set QMAKESPEC=win32-msvc</pre> <br>Otherwise if the newer .NET compiler is to be used:<br><pre> set QMAKESPEC=win32-msvc.net</pre> <br>Compile Qt with the -qwinexport configuration option:<br><pre> set QTDIR=c:\qt\3.2.1 set PATH=%QTDIR%\bin;%PATH% cd %QTDIR% configure -thread -qwinexport cd src nmake clean nmake</pre> <br>Ensure assistant.exe and qaxcontainer.dll were builtin step one, if not compile them with:<br><pre> cd %QTDIR%\tools\assistant nmake cd %QTDIR%\extensions\activeqt nmake</pre> <br>Qt is now ready to be used with Qtopia Desktop<li> Download and install tmake 1.11(ftp://ftp.trolltech.com/freebies/tmake/tmake-1.11.zip)(example commands assume it is installed to c:\tmake-1.11)<li> Install Qtopia source to c:\qtopia\1.9.0 (substitute below if different)<li> From command prompt, Compile Qtopia Desktop and all of its plugins:<br><pre> set QT3DIR=c:\qt\3.2.1 set QPEDIR=c:\qtopia\1.9.0 set TMAKEDIR=c:\tmake-1.11 set TMAKEPATH=%TMAKEDIR%\lib\win32-msvc set PATH=%QPEDIR%\bin;%QT3DIR%\bin;%TMAKEDIR%\bin;%PATH% cd %QPEDIR%\src configure -no-qtopia nmake</pre> <li> Using the regedit program ensure that the qtopiadir registry entry in the path\HKEY_LOCAL_MACHINE\SOFTWARE\Trolltech\palmcenter points to c:\qtopia\1.9.0\src\qtopiadesktop\</ol><p> <h2> Linux</h2><a name="3"></a><p> <ol type=1><li> Qt 3.2.1 and commercial source code for Qtopia are required to build Qtopia Desktop.Download and extract Qt 3.2.x for X11.<li> Compile qt:<br><pre> tar xfz qt-x11-commercial-3.2.x.tar.gz cd qt-x11-commercial-3.2.x export QTDIR=$PWD export PATH=$QTDIR/bin:$PATH cd $QTDIR ./configure -thread make cd ..</pre> <br><li> Extract Qtopia source package for example to ~/qtopia-source-1.9.0(substitute below if different)<li> Compile Qtopia Desktop as follows:<br><pre> tar xfz qtopia-source-1.9.0.tar.gz cd qtopia-source-1.9.0 export QPEDIR=$PWD export QT3DIR=$QTDIR export PATH=$QPEDIR/bin:$QT3DIR/bin:$PATH ./configure -no-qtopia make</pre> <br><!-- eof --><p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright © 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -