Editing Packaging Qt Creator Apps for Maemo Extras

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:
While there are a few pages relating to packaging Maemo and Qt apps, this document is designed to provide step-by-step instructions for taking a working app in Qt Creator and publishing it to the Maemo [[extras]] development repository for all to enjoy. The methods here have been tested with basic Qt apps in an Ubuntu Linux environment. Hopefully additional feedback and edits will provide information about working on the lesser platforms available, for example Windows and Mac.
While there are a few pages relating to packaging Maemo and Qt apps, this document is designed to provide step-by-step instructions for taking a working app in Qt Creator and publishing it to the Maemo [[extras]] development repository for all to enjoy. The methods here have been tested with basic Qt apps in an Ubuntu Linux environment. Hopefully additional feedback and edits will provide information about working on the lesser platforms available, for example Windows and Mac.
-
== Is there a simple(r) way ? ==
+
== There must be a simpler way ==
-
Note that the instructions on this page apply to QtSDK 1.0.x and QtCreator 2.0.x. The use of the [http://labs.qt.nokia.com/2011/03/01/qt-sdk-1-1-beta-released/ QtSDK 1.1] is strongly encouraged, as it has incorporated/automated most of the steps outlined below.  
+
Foreword: These instructions apply you QtSDK 1.0.x and QtCreator 2.0.x. The use of the [http://labs.qt.nokia.com/2011/03/01/qt-sdk-1-1-beta-released/ QtSDK 1.1] is strongly encouraged, as it has incorporated/automated most of the steps outlined below. With QtSDK 1.1, all you need to do is outlined [http://qt-funk.blogspot.com/2011/02/generating-maemoorg-compatible-source.html here]
-
 
+
-
===Using the Wizard===
+
-
With QtSDK 1.1, all you need to do is go to Build-> Publish Project... --> Start Wizard. As shown [http://doc.qt.nokia.com/qtcreator-2.2/creator-publishing-to-maemo-extras.html here].
+
-
 
+
-
You can then choose to upload your app directly to the repository using your [https://garage.maemo.org/ maemo garage] account, or you can do the more straightforward approach of choosing not to upload through QtSDK (make sure that the "do not upload" box is ticked) and instead uploading the generated files using [https://garage.maemo.org/extras-assistant/index.php Maemo Extras Assistant] (check your /tmp/qtc_packing_appname/ folder for the .changes, .tar.gz and .dsc files).
+
-
 
+
-
====Issues====
+
-
Some developers have encountered problems with the debian/rules file using this method, in which case it should be noted that one working solution is to uncomment the "qmake PREFIX=/usr" and "dh_shlibdeps" lines in the rules file (as suggested by notation in the actual file itself). Another common solution is to check that each line of the rules file is indented with TABS and not spaces.
+
-
 
+
-
===Using Custom Build Steps===
+
-
Another way to generate the .changes, .tar.gz and .dsc files is to add a custom step to the build configuration . This is also a fairly straightforward process and is outlined [http://qt-funk.blogspot.com/2011/02/generating-maemoorg-compatible-source.html here] and [http://raeda.blog.com/2011/02/19/upload-qt-apps-to-extras-devel-from-windows/ here]
+
== Qt Creator Notes ==
== Qt Creator Notes ==

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)