release_notes.txt 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. RentBook
  2. ========
  3. RentBook is a Nokia Developer example application for keeping track of items for rent. The
  4. application demonstrates the use of Qt Quick components and SQLite database.
  5. The application allows the user to add items for rent into a database and, for example,
  6. keep track of for whom the item is rented on a certain date. The UI is
  7. implemented using Qt Quick components and the Symbian version follows the
  8. Symbian design guidelines.
  9. This application has been tested on Symbian, MeeGo 1.2 Harmattan, and
  10. Qt Simulator (Windows desktop).
  11. 1. Usage
  12. -------------------------------------------------------------------------------
  13. When the application is first installed, the database is empty. The user can
  14. then start defining items for rent in the resource management view. After one or
  15. more items have been created, the items can be booked for certain dates.
  16. The rent period can be defined for 1-7 days.
  17. 2. Prequisites
  18. -------------------------------------------------------------------------------
  19. - Qt basics
  20. - Qt Quick basics
  21. 3. Project Structure and implementation
  22. -------------------------------------------------------------------------------
  23. 3.1 Folders
  24. -----------
  25. | The root folder contains the project file, resource files,
  26. | license information, and this file (release notes).
  27. |
  28. |- bin Contains the compiled binaries.
  29. |
  30. |- doc Contains the documentation, including the class diagram and
  31. | database design.
  32. |
  33. |- icons Contains application icons.
  34. |
  35. |- qml Root folder for QML and Javascript files.
  36. | |
  37. | |- common Common, cross-platform QML, Javascript files, and graphics.
  38. | |
  39. | |- harmattan Harmattan-specific QML and Javascript files.
  40. | |
  41. | |- symbian Symbian-specific QML and Javascript files.
  42. |
  43. |- qtc_packaging Contains the Harmattan (Debian) packaging files.
  44. |
  45. |- src Contains the Qt/C++ source code files.
  46. 3.2 Important files and classes
  47. -------------------------------
  48. - src/DatabaseManager.h/.cpp: Handling SQLite database
  49. - src/telephony.h/.cpp: Dialing in Symbian
  50. - qml/Symbian/MainView.qml: Main application view in Symbian
  51. - qml/Harmattan/MainView.qml: Main application view in Harmattan
  52. 3.3 Used Qt C++ classes and Qt Quick Components
  53. -----------------------------------------------
  54. Important classes Qt C++ classes: QSqlDatabase, QSqlQuery, QDeclarativeView
  55. Important Qt Quick Components: DatePickerDialog, Tumbler
  56. 4. Compatibility
  57. -------------------------------------------------------------------------------
  58. - Qt 4.7.4 or higher
  59. - Qt Quick Components 1.0 or higher
  60. Tested on:
  61. - Nokia C7-00
  62. - Nokia E6-00
  63. - Nokia E7-00
  64. - Nokia N8-00
  65. - Nokia N900 (PR1.3)
  66. - Nokia N9
  67. - Nokia N950
  68. - Windows desktop with Qt Simulator
  69. 4.1 Required capabilities
  70. -------------------------
  71. None.
  72. 4.2 Known issues
  73. ----------------
  74. The tool bar buttons may disappear on Symbian Anna version if several pages are
  75. pushed into the page stack rapidly. The issue is fixed in Symbian Qt Quick
  76. Components version 1.1. For more information, see bug
  77. https://bugreports.qt.nokia.com/browse/QTCOMPONENTS-741
  78. 5. Building, installing, and running the application
  79. -------------------------------------------------------------------------------
  80. 5.1 Preparations
  81. ----------------
  82. Check that you have the latest Qt SDK installed in the development environment
  83. and the latest Qt version on the device.
  84. Qt Quick Components 1.0 or higher required.
  85. 5.2 Using Qt SDK
  86. ----------------
  87. You can install and run the application on the device by using the Qt SDK.
  88. Open the project in the SDK, set up the correct target (depending on the device
  89. platform) and click the Run button. For more details about this approach,
  90. visit Qt Getting Started at Nokia Developer
  91. (http://www.developer.nokia.com/Develop/Qt/Getting_started/).
  92. 5.3 Symbian device
  93. ------------------
  94. Make sure your device is connected to your computer. Locate the .sis
  95. installation file and open it with Ovi Suite. Accept all requests from Ovi
  96. Suite and the device. Note that you can also install the application by copying
  97. the installation file onto your device and opening it with the Symbian File
  98. Manager application.
  99. After the application is installed, locate the application icon from the
  100. application menu and launch the application by tapping the icon.
  101. 5.4 Nokia N9 and Nokia N950
  102. ---------------------------
  103. Copy the application Debian package onto the device. Locate the file with the
  104. device and run it; this installs the application. Note that you can also
  105. use the terminal application and install the application typing the command
  106. 'dpkg -i <package name>.deb' on the command line. To install the application
  107. using the terminal application, make sure you have the right privileges
  108. to do so (for example, root access).
  109. Once the application is installed, locate the application icon from the
  110. application menu and launch the application by tapping the icon.
  111. 6. License
  112. -------------------------------------------------------------------------------
  113. See the license text file delivered with this project. The license file is also
  114. available online at
  115. http://projects.developer.nokia.com/rentbook/browser/trunk/Licence.txt
  116. 7. Related documentation
  117. -------------------------------------------------------------------------------
  118. Qt Quick Components
  119. - http://doc.qt.nokia.com/qt-components-symbian-1.0/index.html
  120. - http://harmattan-dev.nokia.com/docs/library/html/qt-components/qt-components.html
  121. Qt: QRentBook Example v1.2 (uses QWidgets)
  122. http://www.developer.nokia.com/info/sw.nokia.com/id/65e18c3b-6b69-4bb7-bf18-96e64d37f0ea/Qt_QRentBook_Example_v1_2_en.zip.html
  123. 8. Version History
  124. -------------------------------------------------------------------------------
  125. 1.0 Initial release