Reply
Thread Tools
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#41
Here is some code examples using Maemo5 specific stuff: http://qt.gitorious.org/+qt-develope...xamples/maemo5

More generic examples here: http://qt.gitorious.org/+qt-develope...antle/examples
__________________
Valério Valério
www.valeriovalerio.org
 

The Following 3 Users Say Thank You to VDVsx For This Useful Post:
Posts: 117 | Thanked: 26 times | Joined on Dec 2009
#42
This is where I would start.

"PluThon (Eclipse based)
PluThon is a full Python IDE for Maemo, based on Eclipse. While PluThon is easy to use and provides a complete solution, it is not necessary for basic Python development for Maemo. If you already use Eclipse for your development, PluThon might be your best option."

http://wiki.maemo.org/PyMaemo/QuickStartGuide

Eclipse rocks. Python rocks. Using both for Maemo device development sounds pretty sweet to me.
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#43
Originally Posted by Sasler View Post
I've never used any other framework than .NET. And coming form that world, I really do miss the plethora of simple code examples on how to do different things. That is. other than just the Hello World.
Just download the source code to a project similar to what you are doing and cut & paste.
 

The Following 2 Users Say Thank You to jebba For This Useful Post:
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#44
Originally Posted by jebba View Post
Just download the source code to a project similar to what you are doing and cut & paste.
Now if only those source codes would have some good commentary, which would explain what it is actually doing and how.
 

The Following User Says Thank You to Sasler For This Useful Post:
Fargus's Avatar
Posts: 1,217 | Thanked: 446 times | Joined on Oct 2009 @ Bedfordshire, UK
#45
Originally Posted by jkq View Post
...
PS. Thus, I started to port my code written for Python/Qt to C++/Qt, and boy, am I missing Python.
...
But the result will be faster and smaller
 
Fargus's Avatar
Posts: 1,217 | Thanked: 446 times | Joined on Oct 2009 @ Bedfordshire, UK
#46
Originally Posted by mmurfin87 View Post
Microsoft is always well documented. Google is too most of the time.
The quality of the MS documentation has been the source of jokes for years in the professional community though it is a lot better than it has been in the past. Be nice to see Maemo catch up but who will do the work?
 
Fargus's Avatar
Posts: 1,217 | Thanked: 446 times | Joined on Oct 2009 @ Bedfordshire, UK
#47
Originally Posted by Sasler View Post
...
Unfortunately, I seem to be one of these "sissies". I've never used any other framework than .NET. And coming form that world, I really do miss the plethora of simple code examples on how to do different things. That is. other than just the Hello World.

To make the matters worse for me, I chose to start using C++ which is a bad move, since all the documentation it is assumed that everyone who uses C++ has already done so for at least several centuries if not for millenniums. Before starting to develop for Maeomo, Visual Basic (yes, I already told that I am a "sissy" ) was more than enough for my needs. Since I had to learn a new language anyway, I thought I learn a good one which is useful on many platforms.
...
If you are used to .NET then try playing with C# first so the object model is familiar. The syntax is close to C++ though arrays are not implimented properly in C#.
 

The Following User Says Thank You to Fargus For This Useful Post:
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#48
Originally Posted by Sasler View Post
Now if only those source codes would have some good commentary, which would explain what it is actually doing and how.
Some do, some don't, it's true. You can always email the authors directly and request they document. If it's something you really want to know about.

Have fun.
 

The Following User Says Thank You to jebba For This Useful Post:
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#49
It seems like the best development environment is qt creator+madde, but that's c++ only?
esbox with pluthon is pretty good for python, but I cannot for the life of me get it to play with SVN which is what garage uses. So its a pain to use with svn

the suggestion of using qt with python seems to be dependent on waiting for some fix arriving at some point that would actually allow you to get the app out of extra-devel. But if you want to write a python app that people can actually use *now* then you have to stick with GTK?
Are there any guides on how you'd convert from gtk to qt?
I've been using gtkBuilder, is there some QT equivalent? or do I have to go back to coding everything integrated?

I am hoping to get back to working on witter, and I'm trying to decide if I should seriously consider switching to QT.
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#50
I would like to know what the status is on getting the Qt 4.6 libs into the repos. Telling people to develop in Qt is all well and good but if we really are "going with the future of Maemo" then we need to be coding against 4.6.
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:49.