Editing MADDE/Qt example

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 1: Line 1:
-
{{MADDE}}
+
<div style="border: 1px solid red; background-color: #faa; padding: 20px;"><div style="text-align:center;">'''TECHNOLOGY PREVIEW'''</div></div>
=== Introduction ===
=== Introduction ===
-
This example requires a working configuration of [[MADDE]]. At least one target has to be installed and set as 'default'. The basic steps to do this are described in this [[MADDE/Configuration | guide]]. If you want to run the example on the device, please install the Qt Gui library. This example will show how to:
+
This example requires a working configuration of MADDE. At least one target has to be installed and set as 'default'. The basic steps to do this are described in this [[MADDE/Configuration | guide]]. If you want to run the example on the device, please install the Qt Gui library. This example will show how to:
* start a project in MADDE  
* start a project in MADDE  
Line 22: Line 22:
  empty            prog    Empty project
  empty            prog    Empty project
  lib_simple      lib      Simple example for C/C++ libraries
  lib_simple      lib      Simple example for C/C++ libraries
-
  qt_lib_simple    qtlib    Simple example for Qt libraries
+
  qt_lib_simple    qtlib    Simple example for QT libraries
-
  qt_simple        qtprog  Simple example for Qt programs
+
  qt_simple        qtprog  Simple example for QT programs
  simple          prog    Simple example for C/C++ programs
  simple          prog    Simple example for C/C++ programs
 +
 +
=== Start the project ===
=== Start the project ===
-
The goal of this example is to create a simple Qt application. Therefore we can use the "qt_simple" template out of the list. The following command creates a project using the "qt_simple" template and named as "qthello" (In Windows MADDE Terminal this template seems to be qt-simple)
+
The goal of this example is to create a simple Qt application. Therefore we can use the "qt_simple" template out of the list. The following command creates a project using the "qt_simple" template and named as "qthello"
  mad pscreate -t qt_simple qthello
  mad pscreate -t qt_simple qthello
Line 64: Line 66:
1. Create the Makefile:
1. Create the Makefile:
-
cd qthello
 
  mad qmake
  mad qmake
Line 78: Line 79:
:This command will build the project and make a debian package called qthello_0.1_armel.deb. The debian package will be created in the projects' parent directory.
:This command will build the project and make a debian package called qthello_0.1_armel.deb. The debian package will be created in the projects' parent directory.
-
 
-
[[Category:Development]]
 
-
[[Category:Qt]]
 

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: