Issue 488
[zxing.git] / symbian / QQrDecoder_tutorial.txt
1 This project is the same as ZXingBarcodeReader. The difference is that the GUI is \r
2 developed using Qt framework. This means that it can easily be ported to other platforms\r
3 supported by Qt by simply changing the camera operations implemented in "QCameraControllerWidget"\r
4 which is Symbian specific code.\r
5 \r
6 Also the advantage of this implementation over "ZXingBarcodeReader" is that the code written is \r
7 more readable and familiar to users that have never used Qt framework or Symbian C++ before.\r
8 \r
9 == Prerequisities ==\r
10 \r
11 * Have at least one S60 SDK. One of the SDKs can be obtained from here:\r
12         http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html\r
13         \r
14 * After installing S60 SDK you have to install OpenC++.\r
15         http://www.forum.nokia.com/info/sw.nokia.com/id/91d89929-fb8c-4d66-bea0-227e42df9053/Open_C_SDK_Plug-In.html\r
16         \r
17 * Next step, have "Qt for Symbian" installed. It under LGLP licence.\r
18         http://qt.nokia.com/downloads/symbian-cpp\r
19         \r
20 * (Optional) You can use Carbide C++ as IDE which makes the life a bit easier on creating applications for Symbian.\r
21         An alternative approach is to compile the program in command line but i am afraid i can help you here because i\r
22         have no idea :P\r
23 or\r
24         You can use Qt Creator (see its tutorials on how to use it)\r
25         http://qt.nokia.com/products/developer-tools/developer-tools\r
26         \r
27 == Create project ==\r
28 If you have Carbide C++ IDE then go "File->Import->Qt->Qt Project",\r
29 click "Browse" and find and select file "QQrDecoder\QQrDecoder.pro".\r
30 Next step you select the S60 SDK to be compiled to and you are ready.\r
31 \r
32 == Build project ==\r
33 Since the project is created, we can proceed to build it.\r
34 \r
35 First in "QQrDecoder\camerawrapper" folder there is a folder named "epoc32".\r
36 Copy this folder and paste it to the root folder of the S60 SDK that you are going to use\r
37 (in my case: C:\S60\devices\S60_5th_Edition_SDK_v1.0). This step is important in order\r
38 to use a Plug-In API for the easier manipulation of the camera.\r
39 \r
40 Now we are ready to compile. Since the camera is not supported in the Symbian emulator we\r
41 will build the project directly to be installed on a devidce.\r
42 Select "QQrDecoder" project in the "Project Explorer" view in Carbide, right click on it\r
43 and select "Properties". Expand "Carbide.c++" field and select "Build Configurations".\r
44 Being in the "SIS Builder" tab, select as Active Configuration the "Phone Degug (GCCE)".\r
45 Then press "Add" button, and to select a PKG file click "Browse" button. Go to "QQrDecoder"\r
46 folder and select "QQrDecoder_template.pkg" file. Make sure that "Self sign sis file" radio\r
47 button is selected and press OK.\r
48 \r
49 Now go "Project->Build Project" and if everything goes right, you will have 2 installation files\r
50 in "QQrDecoder" folder. Install the .sisx file to your device and you are ready.\r
51 \r
52 == Additional information ==\r
53 For afew more details about the implementation you can see the following page:\r
54 http://wiki.forum.nokia.com/index.php/Qr_Decoder_in_Qt\r
55 \r
56 == The same project in Symbian C++ ==\r
57 \r
58 In case you are interested in using this project with only Symbian C++, take a look at ZXingBarcodeReader folder.