Reply
Thread Tools
Posts: 18 | Thanked: 3 times | Joined on Jun 2010
#1
Hello everyone.

I would really enjoy the step by step tutorial for setting up a development environment necessery to write simple programms for n900.

I need to say that I'm complete newbie. I have never programmed on any mobile platform i have no experience in programming on linux. I do, however, have some c/c++ skills, which i would like to use for my phone.

It would be nice to find some basic, and easy to understand tutorial. I mean, i need something like:
- download this software
- install it there
- use the command
- run this
- type that
- start the software
- set this functions like this, deselect others
- start programming

As i said - i have no experience in mobile platforms, and the only thing i know is that setting up here is much different that installing borland builder on windows.

I will appreciate any help

And I am very sorry if there was similar topic before. There was 20 pages of results when i typed tutorial, rookie or newbie. I lost patience after digging the fifth :/

PS: my goal is to write simple games, controlled by touchscreen and keyboard, no need for any network capabilites, system functions and so on.
 
Posts: 52 | Thanked: 8 times | Joined on Apr 2010
#2
Nokia QT SDK

If, like me, you hate working with Linux when you are already used to working in a windows environment, download the sdk from the link above.

From then on, you can create and deploy applications to your N900 all from one application called QT Creator (included in package above).

The great thing about QT is that it is cross-platform, meaning you can just follow any QT tutorial out there, the program will work in windows and the N900!

As you said, you want to create games, so the QPainter class would be something to look into, along with all of the other image manipulation libraries.
 
Posts: 18 | Thanked: 3 times | Joined on Jun 2010
#3
thx for reply, i will definitely take a look on that

But beware, it is very likely, that i will post questions in this thread, as i mentioned before, i am a rookie
 
Posts: 52 | Thanked: 8 times | Joined on Apr 2010
#4
i post questions all the time, thats what this forum is for.
 
Posts: 7 | Thanked: 1 time | Joined on Jun 2010
#5
I have downloaded qt creator as well but cant get it to port to the n900 .. I can send apps to the nokia 5800 or the x6 but not to the n900 ..... been asking for tutorials on this for a few weeks now.
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#6
Hi,

Originally Posted by bluetalk View Post
I have downloaded qt creator as well but cant get it to port to the n900 .. I can send apps to the nokia 5800 or the x6 but not to the n900 ..... been asking for tutorials on this for a few weeks now.
have you downloaded just the QtCreator or the Nokia Qt SDK? The latter one contains everything you need for development with Qt for the N900. A description on how you can test your program on the device you will find here for example for Linux. There are as well descriptions for other OS in the wiki.

Daniel
 
Posts: 52 | Thanked: 8 times | Joined on Apr 2010
#7
make sure you set the build target to FREMANTLE (Maemo PR1.2 Devices) when you create the project. It allows you to create S60 projects which is the ones you have been creating.
 
Posts: 18 | Thanked: 3 times | Joined on Jun 2010
#8
Damn, call me, what you want, but i'm stuck and i cannot find a way out :/

Well i started with application with button, text field and a label. And i cannot fill my stuff with life. Standard way to double click on an item to move to code section, and adding some "basic" code for an event (like in c++builder or Visual Studio) doesn't work here.

How am i suppose to add some code to "on click" event, when dblclicking on item doesn't show(add) it?
 
Posts: 18 | Thanked: 3 times | Joined on Jun 2010
#9
Ok. I'm sorry... i found a solution...
go to slot -> not very intuitive, but works.
 
Posts: 18 | Thanked: 3 times | Joined on Jun 2010
#10
Damn, another problem...

How can i change properties of items? I have three items on my form:
pushbutton named knefel
label named label1 and
text field named text1.

I would like to copy a text from text1 to label1 when 'knefel' is pressed.
In builder i would type
label1->text = text1->text
but it doesn't work here.

How can i "call" items in qt?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:39.