Build Qt with S60 5.0 Public SDK

Posted by Liang Qi on May 27, 2009 · 13 comments

Platform: Windows XP with SP3(now we only support Qt/S60 on it.)

1. SYMBIAN Development Environment

For downloading the packages, you need to register an account in the forum of Nokia,
http://www.forum.nokia.com/main/registration/registration.html

1-1. Carbide.C++
http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Carbide.c++/
http://sw.nokia.com/id/7710eba7-4da7-4ddc-a52a-53b506cadb4a/Carbide_cpp_v2_0_en.exe

Carbide.C++ 2.0
Carbide_cpp_v2_0_en.exe 203MB

1-2. S60 Platform SDKs for Symbian OS, for C++
http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html
http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip

S60 Platform SDKs for Symbian OS, for C++, 5th Edition
S60_5th_Edition_SDK_v1_0_en.zip 622MB

2. Installation

Please install above 2 packages in default path.

Installation order: Carbide.C++, S60 SDK.

After Carbide.C++, you may need to install ActivePerl-5.6.1.638-MSWin32-x86.msi:

http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.638-MSWin32-x86.msi

And you also need to use Git to get Qt from Qt S60 Git Repo, better to download this version of Git.

Please also make sure the path of our perl(default: C:\Perl\bin) should be in front of the perl from git(default: C:\Program Files\Git\bin) in PATH.

Please run this, Start->Carbide.c++ v2.0->Configure environment for WINSCW command line.

3. Build Qt with S60 5.0 Public SDK

cd C:\git
git clone git://gitorious.org/+qt-s60-developers/qt/qt-s60.git
cd qt-s60
set PATH=C:\git\qt-s60\bin;%PATH%
configure -platform win32-mwc -xplatform symbian-abld -openssl-linked -qt-sql-sqlite -system-sqlite
make debug-winscw

4. Build Examples

cd C:\git\qt-s60\examples\widgets\analogclock
qmake
make debug-winscw
C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\epoc.exe
“Menu”(or click the middle one of the 3 buttons)->QtExamples->analogclock

You got it!

Analog Clock

BTW, it’s my first blog here.

QShare(this)

Possibly related posts:

  1. Qt Simulator is going public

13 comments

1 Thomi May 27, 2009 at 11:53 am
 

Cool!

I’m about to buy the Nokia 5800, mainly because I want a phone I can program with Qt that isn’t totally rubbish. It’d be good if someone could post an example of using Qt together with the phone hardware (say GPS or camera) to produce a useful application. I haven’t looked into the platform SDKs, so I don’t know how easy this is to achieve…

2 Tim May 27, 2009 at 12:26 pm
 

I have a question. Is Qt going to offer widgets that can be used to make a finger based UI? I notice the videos of Qt/S60 are basically desktop apps running on a phone. They have things like scrollbars that you need a stylus to use. Is there going to be a set of widgets to allow iPhone/Android-style apps?

3 Birdy May 27, 2009 at 12:56 pm
 

Nice to see progress on Qt/S60.
Too bad it’s still Windows only. And I hope the installation procedure will be simpler in future.

4 Rule May 27, 2009 at 2:21 pm
 

Very good to see QT on new platform.
WAiting for easer installation (without GIT and 3-rd party packages), and waiting for good documentation and support on MAc os and Linux platforms

5 Lawand May 27, 2009 at 2:24 pm
 

“it’s my first blog here.”
It’s nice to see a newcomer, welcome Liang Qi :)

“Too bad it’s still Windows only.”
Me 2.

6 Frederico Duarte May 27, 2009 at 5:01 pm
 


“it’s my first blog here.”
It’s nice to see a newcomer, welcome Liang Qi :)

“Too bad it’s still Windows only.”
Me 2.

Same here.

I hope there’s a Linux and OSX S60 SDK in the future.

But, for now, there’s a tutorial on how to run it on Linux at the Nokia Forum wiki:
http://wiki.forum.nokia.com/index.php/Using_Carbide.c%2B%2B_and_S60_SDKs_on_Linux?ticket=ST-188827-aHdqgLfT9GXu6iNIZjGx7f4w1OIx7hIFbHq-20

There’s another helpful page here:
http://wiki.forum.nokia.com/index.php/Symbian_development_on_Linux_and_OS_X

7 vohi May 28, 2009 at 2:21 pm
 

@Tim: You might want to have a look at Declarative UI: http://labs.qtsoftware.com/blogs/2009/05/13/qt-declarative-ui

For device UIs in general and touch UIs in particular it is likely going to be easier, more powerful and easier brandable/customizable to build controls from such simple elements using declarative expressions than to use something equivalent to the current set of QWidgets and QStyle C++ classes.

8 sandsmark May 28, 2009 at 6:38 pm
 

Thanks!
I’ve been trying to get this to work stuff to work lately, but the Windows world is pretty alien, so this guide is awesome!

9 kiki June 1, 2009 at 5:38 pm
 

I would like to develop GPS programming and i want to combine it to with accelerometer. would you help me?
It would be helpfully if you want to share an examples code for me?Thnx

10 vps June 7, 2009 at 4:26 am
 

Very useful. Thank you.

11 tercüme June 7, 2009 at 9:32 pm
 

Thanks for your great article. I will try that.

12 Peter June 10, 2009 at 7:51 am
 

I’m running Vista
I receive:
Can’t execute /c/Program Files/Common Files/Symbian/Tools/make.pl.
Can’t execute /c/Program Files/Common Files/Symbian/Tools/make.pl.
Cleaning qmake failed, return code 2

Have I to start Perl manually ?

13 Peter June 10, 2009 at 11:23 am
 

It seems too that I have no qmake …

Comments on this entry are closed.

Previous post:

Next post: