Qt project to Symbian MeeGo and Android: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
AutoSpider (talk | contribs) (Remove non-functioning "toc" command) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Developing_with_Qt::General] | {{Outdated|reason=The Symbian platform is no longer supported.}} | ||
{{Cleanup | reason=Auto-imported from ExpressionEngine.}} | |||
[[Category:Developing_with_Qt::General]] | |||
= My practice to port a Qt application among Symbian, MeeGo and Android = | = My practice to port a Qt application among Symbian, MeeGo and Android = | ||
Line 11: | Line 14: | ||
To make your life easy, you can use the following process. | To make your life easy, you can use the following process. | ||
# Create a git / mercurial repository for your base project. (I use | # Create a git / mercurial repository for your base project. (I use [http://www.bitbucket.org bitbucket.org]) | ||
# Once your Symbian or MeeGo (main project) is done, or you want to see your work also on other platforms, create a branch on git/mercurial, (e.g. Symbian) and commit your work under this branch. | # Once your Symbian or MeeGo (main project) is done, or you want to see your work also on other platforms, create a branch on git/mercurial, (e.g. Symbian) and commit your work under this branch. | ||
# Clone your project into another directory, and create a new branch for it (e.g MeeGo) and commit the new created branch. | # Clone your project into another directory, and create a new branch for it (e.g MeeGo) and commit the new created branch. | ||
Line 24: | Line 27: | ||
# Commit your changes into Symbian branch. | # Commit your changes into Symbian branch. | ||
# Go to your MeeGo project into git/mercurial workbench | # Go to your MeeGo project into git/mercurial workbench | ||
# Select the latest Symbian commit, and choose | # Select the latest Symbian commit, and choose "Merge with local" | ||
# Now all modifications on Symbian Branch are also available on MeeGo, and all your old MeeGo modifications are still in MeeGo project. | # Now all modifications on Symbian Branch are also available on MeeGo, and all your old MeeGo modifications are still in MeeGo project. | ||
# Make your needed modification in MeeGo project based on the Symbian changes. | # Make your needed modification in MeeGo project based on the Symbian changes. | ||
# Commit your work into | # Commit your work into "MeeGo" Branches. | ||
Now you have both Symbian and MeeGo applications in sync, in few easy steps | Now you have both Symbian and MeeGo applications in sync, in few easy steps |
Latest revision as of 12:31, 17 April 2015
IMPORTANT: The content of this page is outdated. Reason: The Symbian platform is no longer supported. If you have checked or updated this page and found the content to be suitable, please remove this notice. |
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine. Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean. |
My practice to port a Qt application among Symbian, MeeGo and Android
Once I decided to port a Qt Quick application from Symbian to MeeGo, I found there are some little problems, including resolutions, file paths and other minor differences.
The porting process was very easy, and took 1-2 hours, but what happens if you need to make some major changes in the application? You will need to get all changes manually from first application and put them in second one. This sounds easy, but some times is not so.
Configure git to manage ports
To make your life easy, you can use the following process.
- Create a git / mercurial repository for your base project. (I use bitbucket.org)
- Once your Symbian or MeeGo (main project) is done, or you want to see your work also on other platforms, create a branch on git/mercurial, (e.g. Symbian) and commit your work under this branch.
- Clone your project into another directory, and create a new branch for it (e.g MeeGo) and commit the new created branch.
- Make your modifications for MeeGo project to match the UI, and work as it work on Symbian platform.
- Commit your MeeGo modifications into MeeGo branch.
Updates after the port
Now you will want to complete your Symbian application or add more functionality and fix bugs.
- Come back to your Symbian version of project and make all your wanted changes.
- Commit your changes into Symbian branch.
- Go to your MeeGo project into git/mercurial workbench
- Select the latest Symbian commit, and choose "Merge with local"
- Now all modifications on Symbian Branch are also available on MeeGo, and all your old MeeGo modifications are still in MeeGo project.
- Make your needed modification in MeeGo project based on the Symbian changes.
- Commit your work into "MeeGo" Branches.
Now you have both Symbian and MeeGo applications in sync, in few easy steps
Porting to other systems
- Clone Symbian project into new directory.
- Commit your cloned project into another branch (e.g. Android)