Editing Qt4 development

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 23: Line 23:
===How to compile a Qt application in Scratchbox===
===How to compile a Qt application in Scratchbox===
-
Qt applications are usually built using QMake. Some projects, like KDE, use CMake, for more flexibility.
+
Qt applications are usually built using QMake. Project like KDE instead replaced QMake with CMake for more flexibility.
   
   
==== QMake ====
==== QMake ====
Line 59: Line 59:
Note: <code>run-standalone.sh</code> sets some variable needed by Qt to use the Hildon style.
Note: <code>run-standalone.sh</code> sets some variable needed by Qt to use the Hildon style.
-
Hint: If you don't want to run run-standalone.sh all the time, you can also source it: <pre>source /usr/bin/run-standalone.sh</pre> In that shell, you can then run Qt applications without calling run-standalone.sh on every start.
+
Hint: If you don't want to run <pre>run-standalone.sh</pre> all the time, you can also source it: <pre>source /usr/bin/run-standalone.sh</pre>. In that shell, you can then run Qt applications without calling <pre>run-standalone.sh</pre> on every start.
==== Device ====
==== Device ====
Line 187: Line 187:
===Building Qt from Git repository===
===Building Qt from Git repository===
-
# Make sure you have all the build dependencies:<br/><pre>fakeroot apt-get build-dep qt4-x11</pre>
 
# Clone the repository:<br/><pre>git clone git://gitorious.org/+qt-developers/qt/x11-maemo.git qt-maemo</pre><br/>
# Clone the repository:<br/><pre>git clone git://gitorious.org/+qt-developers/qt/x11-maemo.git qt-maemo</pre><br/>
# Change dir:<br/><pre>cd qt-maemo</pre>
# Change dir:<br/><pre>cd qt-maemo</pre>
-
# Configure Qt:<br/>For x86 targets:<pre>./configure -maemo5</pre><br/>For ARM targets:<pre>./configure -maemo5 -opengl es2</pre>.
+
# Configure Qt:<br/><pre>./configure -maemo5</pre>
# Build Qt:<br/><pre>make</pre>
# Build Qt:<br/><pre>make</pre>
# Install Qt:<br/><pre>make install</pre>
# Install Qt:<br/><pre>make install</pre>

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: