Qt Tutorial Lesson 1: Installation
-
Upload
ratnesh-kumar-gupta -
Category
Documents
-
view
243 -
download
0
Transcript of Qt Tutorial Lesson 1: Installation
-
8/6/2019 Qt Tutorial Lesson 1: Installation
1/23
Archived: This article is archived because it is not considered relevant for third-party developers creating
commercial solutions today.
The instructions in this article rely on the "Qt for Symbian" SDK that is no longer available. In addition,
Carbide.c++ cannot be used with the recommended Qt SDKArchived: This Wiki article provides tutorial instructions for setting up Qt for Symbian with the Carbide.c++
IDE.
Contents
1 Install Carbide C++ and Series 60 SDK
1.1 Active Perl Installation
1.2 Carbide C++ Installation
1.3 Series 60 SDK Installation
1.4 Test your Installation
2 Install Open C/C++ Plugin and Qt for
Symbian
2.1 Install Open C/C++ Plugin
2.2 Install Qt for Symbian SDK
3 Setup Qt on Carbide C++
4 Testing
5 See Also
Install Carbide C++ and Series 60 SDK
Make sure you have Symbian development environment (Carbide C++ 2.0, Series 60 SDK 3rd FP1 or
Series 60 SDK 3rd FP2 or Series 60 SDK 5th Edition and Active Perl) installed on your computer. If you
still don't have them yet, please do following these steps.
Active Perl Installation
- Download Active Perl from http://www.activestate.com/activeperl
Qt_Tutorial_Lesson_1:_Installation
Contents 1
http://www.developer.nokia.com/Community/Wiki/File:QtLogo.pnghttp://www.developer.nokia.com/Community/Wiki/File:QtLogo.pnghttp://www.developer.nokia.com/Community/Wiki/File:QtLogo.pnghttp://www.activestate.com/activeperlhttp://www.developer.nokia.com/Community/Wiki/File:QtLogo.pnghttp://www.developer.nokia.com/Community/Wiki/Nokia_Qt_SDKhttp://www.developer.nokia.com/Community/Wiki/Category:Archivedhttp://www.developer.nokia.com/Community/Wiki/Template:Archived -
8/6/2019 Qt Tutorial Lesson 1: Installation
2/23
- install it to C:\Perl or any directory that doesn't contain space character
Carbide C++ Installation
- Download Carbide C++ 2.0 from
http://www.developer.nokia.com/info/sw.nokia.com/id/dbb8841d-832c-43a6-be13-f78119a2b4cb.html
- install it to C:\ (in case if you installed Perl in different drive, you have to install Carbide C++ to the same
drive as Perl)
Series 60 SDK Installation
- Download Series 60 3rd SDK FP1 or Series 60 3rd SDK FP2 or Series 60 5th SDK 1.0 from
http://www.developer.nokia.com/Resources/Tools_and_downloads/Other/Symbian_SDKs/ (I suggest you to
download S60 3rd SDK FP2 for button-based application and S60 5th SDK 1.0 for touch-based application)
- install it to the same drive as Perl and Carbide C++
Test your Installation
Now it's time to test that your Symbian Development Environment work or not.
- Open Carbide C++ 2.0 from Start Menu and define workspace directory. Please make sure that there is no
space contain in workspace directory or your code will can't be compiled.
- on the menu bar, choose File -> New -> Symbian OS C++ Project
- Select GUI Application under S60 and press Next
Qt_Tutorial_Lesson_1:_Installation
Active Perl Installation 2
http://www.developer.nokia.com/info/sw.nokia.com/id/dbb8841d-832c-43a6-be13-f78119a2b4cb.htmlhttp://www.developer.nokia.com/Resources/Tools_and_downloads/Other/Symbian_SDKs/http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_1.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_1.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_1.pnghttp://www.developer.nokia.com/Resources/Tools_and_downloads/Other/Symbian_SDKs/http://www.developer.nokia.com/info/sw.nokia.com/id/dbb8841d-832c-43a6-be13-f78119a2b4cb.html -
8/6/2019 Qt Tutorial Lesson 1: Installation
3/23
- Define Project Name (HelloWorld for newbie) and press Next
Qt_Tutorial_Lesson_1:_Installation
Test your Installation 3
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_2.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_2.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
4/23
- Check at Emulator Debug (WINSCW) and Phone Release (GCCE) under desired SDK (S60 3rd FP2
or/and S60 5th SDK) and press Next
Qt_Tutorial_Lesson_1:_Installation
Test your Installation 4
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_3.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_3.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
5/23
- Define Application UID and press Finish (in case you don't know what it is, you can use the generated UID,
so just press Finish)
Qt_Tutorial_Lesson_1:_Installation
Test your Installation 5
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_4.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_4.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
6/23
- Now there will be a project named HelloWorld at the left pane. Right mouse click at project name and
change Active Build Configuration to Emulator Debug (WINSCW)
Qt_Tutorial_Lesson_1:_Installation
Test your Installation 6
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_5.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_5.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
7/23
- Press Run icon on tool bar
- New Launch Configuration Wizard will appear. Select Emulator in Process to launch and then press
Finish
Qt_Tutorial_Lesson_1:_Installation
Test your Installation 7
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_7_2.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_6.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_7_2.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_6.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
8/23
- Carbide C++ will compile the code for you. After finish, Emulator will be launched automatically.
Qt_Tutorial_Lesson_1:_Installation
Test your Installation 8
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_8.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_8.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
9/23
- Now go into Menu -> Installations. There should be HelloWorld icon
Qt_Tutorial_Lesson_1:_Installation
Test your Installation 9
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_9.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_9.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
10/23
- Now launch it
Qt_Tutorial_Lesson_1:_Installation
Test your Installation 10
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_10.jpghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_10.jpg -
8/6/2019 Qt Tutorial Lesson 1: Installation
11/23
- Hello Worlddddd ;)
Install Open C/C++ Plugin and Qt for Symbian
Install Open C/C++ Plugin
Open C Plugin is required by Qt for Symbian. To install it:
- Download latest version ofOpen C/C++ Plug-in from
http://www.developer.nokia.com/info/sw.nokia.com/id/91d89929-fb8c-4d66-bea0-227e42df9053/Open_C_SDK_
- Install it to desired SDK (In case you need to install the plug-in to multiple SDK, you have to do the
installation one by one)
Qt_Tutorial_Lesson_1:_Installation
Install Open C/C++ Plugin and Qt for Symbian 11
http://www.developer.nokia.com/info/sw.nokia.com/id/91d89929-fb8c-4d66-bea0-227e42df9053/Open_C_SDK_Plug-In.htmlhttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_11.pnghttp://www.developer.nokia.com/info/sw.nokia.com/id/91d89929-fb8c-4d66-bea0-227e42df9053/Open_C_SDK_Plug-In.htmlhttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_11.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
12/23
Install Qt for Symbian SDK
- Download latest version ofQt for Symbian Windows installer from http://qt.nokia.com/downloads
(Download LGPL version)
- Install it to same drive as Series 60 SDK (Make sure that your selected directory does not contain any space
character)
Qt_Tutorial_Lesson_1:_Installation
Install Open C/C++ Plugin 12
http://www.developer.nokia.com/Community/Wiki/File:OpenCPluginInstallation.pnghttp://qt.nokia.com/downloadshttp://www.developer.nokia.com/Community/Wiki/File:OpenCPluginInstallation.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
13/23
- In installation process, you will be requested to choose the SDK(s) to install Qt, please select all SDK(s) you
want.
- And then Next Next and Next
Qt_Tutorial_Lesson_1:_Installation
Install Qt for Symbian SDK 13
http://www.developer.nokia.com/Community/Wiki/File:QtS60Installation_2.pnghttp://www.developer.nokia.com/Community/Wiki/File:QtS60Installation_1.pnghttp://www.developer.nokia.com/Community/Wiki/File:QtS60Installation_2.pnghttp://www.developer.nokia.com/Community/Wiki/File:QtS60Installation_1.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
14/23
- Finish!!
Setup Qt on Carbide C++
Now you have to setup Carbide C++ to know Qt path. To do that, please do the following step:
- Open Carbide C++ 2.0
- On the menu bar, choose Window -> Preferences
- Select Qt on the left pane and then press Add
- Enter Version Name and Browse for Qt Bin Path and then clickFinish
Qt_Tutorial_Lesson_1:_Installation
Setup Qt on Carbide C++ 14
http://www.developer.nokia.com/Community/Wiki/File:QtS60Installation_3.pnghttp://www.developer.nokia.com/Community/Wiki/File:QtS60Installation_3.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
15/23
Testing
To test it:
- On the menu bar, choose File -> New -> Qt Project
- Choose Qt GUI Main Window
Qt_Tutorial_Lesson_1:_Installation
Testing 15
http://www.developer.nokia.com/Community/Wiki/File:NewQtProject.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject.pnghttp://www.developer.nokia.com/Community/Wiki/File:QtS60Installation_4.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject.pnghttp://www.developer.nokia.com/Community/Wiki/File:QtS60Installation_4.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
16/23
- Define Project Name
Qt_Tutorial_Lesson_1:_Installation
Testing 16
http://www.developer.nokia.com/Community/Wiki/File:NewQtProject_1.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_1.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
17/23
- Select Target SDK
Qt_Tutorial_Lesson_1:_Installation
Testing 17
http://www.developer.nokia.com/Community/Wiki/File:NewQtProject_2.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_2.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
18/23
Qt_Tutorial_Lesson_1:_Installation
Testing 18
http://www.developer.nokia.com/Community/Wiki/File:NewQtProject_3.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_3.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
19/23
- Define Application UID (in case you don't know just press Finish)
Qt_Tutorial_Lesson_1:_Installation
Testing 19
http://www.developer.nokia.com/Community/Wiki/File:NewQtProject_4.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_4.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
20/23
- Now, there will be HelloWorldQt project appear in the left pane.
- Run with Emulator launch configuration.
Qt_Tutorial_Lesson_1:_Installation
Testing 20
http://www.developer.nokia.com/Community/Wiki/File:NewQtProject_6.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_6.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_6.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_5.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_6.pnghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_5.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
21/23
- HelloWorldQt icon should be in Menu -> Installations folder in Emulator
Qt_Tutorial_Lesson_1:_Installation
Testing 21
http://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_7_2.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_8.pnghttp://www.developer.nokia.com/Community/Wiki/File:CarbideNewProject_7_2.png -
8/6/2019 Qt Tutorial Lesson 1: Installation
22/23
- Launch it!
Qt_Tutorial_Lesson_1:_Installation
Testing 22
http://www.developer.nokia.com/Community/Wiki/File:NewQtProject_7.jpghttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_7.jpg -
8/6/2019 Qt Tutorial Lesson 1: Installation
23/23
- Bingo!! Hello CUTEEEEEEEEE ^_^
See Also
neois
Qt_Tutorial_Lesson_1:_Installation
http://www.developer.nokia.com/Community/Wiki/File:NewQtProject_8.jpghttp://www.developer.nokia.com/Profile/?u=neoishttp://www.developer.nokia.com/Community/Wiki/File:NewQtProject_8.jpg