Reply
Thread Tools
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#11
Originally Posted by pillar View Post
QtCreator is fine for creating Qt code, but the thing missing is easy running configuration for your apps in scratchbox from QtCreator. Right now I think the only way to do this is manually and it can be hard for someone new to all of this.

I too think this is something that those making documentation and tools should concentrate on. I am sure there are many of us that haven't done maemo development before and probably are using windows as well as their main OS. Learning Qt isn't the problem, it is how to setup everything that seems to be the hardest part right now.
I agree. But what I would prefer even more, would be a Maemo emulator running straight from Qt Creator. Anyway, there is a Brainstorm about this:

http://talk.maemo.org/showthread.php?t=33371

http://maemo.org/community/brainstor..._and_maemo_sdk
 
Posts: 219 | Thanked: 94 times | Joined on Nov 2009 @ Helsinki, Finland
#12
I would also like to use Qt designer with Maemo styles, but don't know whether this is possible. I think the Qt designer is a nice tool for a beginner even though it easily drives your code to follow some kind of God Object pattern.
 
Posts: 376 | Thanked: 78 times | Joined on Sep 2009
#13
Originally Posted by sjaensch View Post
If you are a total beginner, maybe Python would be an easier language to start with. Just google "Python tutorial" (or "C++ tutorial" if you want to jump directly into C++) and start having fun.
Hmmmm I'm torn now, lol. Having never ever looked at Python. Why would it be a better option? What can't it do that Qt can? etc?

I noticed that there is an app for Maemo 5 called PyGTKEditor does that only do the auto-indent, syntax highlight, etc. Or could I write something and run/test/compile it on the device?

Thanks for everyones replies btw. I'm currently downloading QT Creator and QT SDK (though it seems it's only for Symbian atm, what is hte difference between the Symbian and Maemo SDK - when it's out - I thought QT was meant to be multiplatform - or am I being think?) and will work through the Address Book tutorial to see what I can learn.
 
Posts: 219 | Thanked: 94 times | Joined on Nov 2009 @ Helsinki, Finland
#14
Originally Posted by Dexter1759 View Post
Hmmmm I'm torn now, lol. Having never ever looked at Python. Why would it be a better option? What can't it do that Qt can? etc?
Python runs on top of interpreter, so no need to compile and learning curve is considered to be very low compared to C++. Python also enables using C libraries, and Qt bindings for Python do exist.

Nokia is not promoting well known PyQt bindings because of licensing issues, it's building its own bindings called PySide. My current knowledge is that latter is quite immature currently, so stick to PyQt. Licensing difference between these two is that PySide is LGPL, PyQt uses the heavy one.
 

The Following User Says Thank You to naabi For This Useful Post:
Kieron's Avatar
Posts: 388 | Thanked: 115 times | Joined on Oct 2009 @ London, UK
#15
I too was going to start programming a basic app in Qt, but got completely put off in Qt Creator a few weeks ago. Might jump back in.
 
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#16
+1 for PyQt/PySide

While I took some C++ classes in college, after years of inactivity I found it too daunting/frustrating trying to jump back into it, let alone wrap my head around the fact that Qt kind of bends the rules as far as C++ is concerned.

At that point I decided to learn Python and PyQt at the same time, which was surprisingly easy. The aforementioned lack of a compile cycle reduced the time it took to recover from simple errors, the syntax/indentation rules helped to keep my code clean and readable, and the documentation is among the best I've seen.

As for PyQt/PySide themselves, I find Qt to be the most powerful, attractive, and versatile toolkit of them all. GTK lacks native docking widgets and is an eye sore on Macs, and IMHO wxWidgets has too many widgets that feel incomplete -- where as Qt has less widgets, but each is pretty flexible. I also like the idea that I can write code once and run it presumably anywhere-- Linux, Mac, Windows, and even mobile platforms!

As for learning, I found Rapid GUI Programming with Python and Qt to be superb, but the online Qt and Python documentation may be enough for you. Be forewarned, the PyQt documentation is lacking in some places, citing C++ code instead of Python code in some places, though the differences are generally easy enough to sort out.
 

The Following 3 Users Say Thank You to aspidites For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#17
[shameless plug]

For an overview how this whole Python - Qt - Maemo thing works, take a look at the Summit PyQt presentation

There is a Python/Qt dev guide also on the way from yours truly, but writing docs is not nearly as fun as coding so it's coming along a bit slower than expected

[/shameless plug]
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following 2 Users Say Thank You to attila77 For This Useful Post:
Posts: 13 | Thanked: 5 times | Joined on Oct 2009 @ Hamburg
#18
Is there an alternative to the QTCreator? I'm an eclipse junkie and (normally programming Java) started dooing some C and C++ with eclipse and it feels so much better than the QT-Creator, for coding. The QTCreator is great for the creation of the GUI aspects. Are there tools to integrate QT tighter into eclipse - are there QT-eclipsers out there?
 
Posts: 24 | Thanked: 38 times | Joined on Nov 2009
#19
There is a Qt plugin for Eclipse: http://qt.nokia.com/developer/eclipse-integration
Unfortunately, it is not available for Mac OS X.
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#20
In this post timoph posted a nice link to a very easy to follow book on Qt programming with C++. Definitely worth a read!

Jan
 

The Following 3 Users Say Thank You to Big Phat Jan For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:46.