Reply
Thread Tools
Posts: 26 | Thanked: 0 times | Joined on Apr 2010
#1
I just want to develop for n900 with Qt4.6 in Windows, and I am not familiar with Linux.

So please tell me what I should do for the development environment.

And what should I do if my app may need maemo5 APIs. I just installed Qt4.6(including creator, designer).

Plz, thx.
 
Posts: 180 | Thanked: 76 times | Joined on May 2010
#2
You installed Nokia Qt SDK Beta?

There is a readme in NokiaQtSDK/Maemo.
 
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#3
Indeed.

Install the new Nokia QT SDK, it works like a charm for me.
It has a fair IDE, and you can write code and launch your app on the N900 with one click.
 
Posts: 26 | Thanked: 0 times | Joined on Apr 2010
#4
Originally Posted by Venemo View Post
Indeed.

Install the new Nokia QT SDK, it works like a charm for me.
It has a fair IDE, and you can write code and launch your app on the N900 with one click.
Does "Nokia QT SDK" include Maemo5 APIs?
 
Posts: 180 | Thanked: 76 times | Joined on May 2010
#5
Originally Posted by HeartJ View Post
Does "Nokia QT SDK" include Maemo5 APIs?
Yes.

Too short message.
 
Posts: 26 | Thanked: 0 times | Joined on Apr 2010
#6
Cool, thx Diph, thx all bro.
 
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#7
Originally Posted by HeartJ View Post
Does "Nokia QT SDK" include Maemo5 APIs?
Of course. It contains MADDE. You can read more about that in the wiki.
 
Posts: 25 | Thanked: 8 times | Joined on Dec 2009 @ Caracas/Venezuela
#8
Indeed.

Install the new Nokia QT SDK, it works like a charm for me.
It has a fair IDE, and you can write code and launch your app on the N900 with one click.
Once you launch the application on the n900, is it possible to run it without the usb connection? how do i make a .deb inside windows?
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#9
Originally Posted by seridyan View Post
Once you launch the application on the n900, is it possible to run it without the usb connection? how do i make a .deb inside windows?
Apps launched from QT Creator are stored in /root folder on n900. You can copy them and run from xterminal just as any other app without the need of usb connection (or wifi). To make a deb on windows you have to open Madde console and create a new project skeleton with
Code:
mad pscreate -t qt_simple projectname
than go in the created directory from explorer and copy all source codes done in qt creator into the src subfolder. Copy all source and header files there. The QT designer uis must go in the uis subfolder, Changelogs and descriptions are in the files in debian subfolder. In data subfolder you put the icon in png format and edit the .desktop file. Than you have to edit the qtprog.pro file in the main project folder, adding all sources headers and forms. When you're done from MADDE console change directory to your project folder and run
Code:
mad qmake
and
Code:
mad make
. If there is no error in the compiler you can create the package by calling
Code:
mad dpkg-buildpackage -d
. Watch out some classes and references in qt creator are different from the ones in madde, code running in the first may be edited to run in the second.
 

The Following User Says Thank You to gionni88 For This Useful Post:
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#10
Gioni88, good explanation, except for this part:

Originally Posted by gionni88 View Post
Apps launched from QT Creator are stored in /root folder on n900.
If you use MADDE with Qt Creator, it will place the executable files into the /home/developer directory. (or, if use use it with another user account and not developer, it will put them int that account's folder, I think)

You can run them from there from the terminal:

Code:
cd /home/developer
./myapp
If you run it from a root terminal:

Code:
cd /home/developer
run-standalone.sh ./myapp
where "myapp" is the name of your app's executable (usually without extension)
 

The Following User Says Thank You to Venemo For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:33.