Qt tutorial, getting started
Qt is a GUI software toolkit. Qt simplifies the task of writing and maintaining GUI (graphical user interface) applications. Qt is written in C++ and is fully object-oriented. It has everything you need to create professional GUI applications. And it enables you to create them quickly. Qt is a multi-platform toolkit. When developing software with Qt, you can run it on the X Window System (Unix/X11) or Microsoft Windows 95/98/NT/XP and MacOS X. Simply recompile your source code on the platform you want to deploy.
In this tutorial we focus how we can install Qt on windows computer and aslo we learn how to install it for application development for Symbian OS.
The best way to learn Qt on windows OS or Linux OS. The reason we can compile and run those application directly. If we want to try it for example Symbian, it is a bit slowwer than PC. The reason is obvious, you have to use emulator for development. Once we learn how to develop Qt application in PC we port it for Symbian OS.
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 are done!

