release_notes.txt 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. Qt: QuickSand Example v1.0
  2. ==========================
  3. This Qt example application demonstrates how to use custom "perpixel" grid based rendering
  4. without any graphical API or acceleration library.
  5. It uses customized Navier-Stokes algorithm optimized for mobile processors (fixedpoint) to
  6. emulate semi-elastic "sand" and an interface allowing user to manipulate the simulation
  7. grid with touch / accolometer events.
  8. The application allows user to manipulate the sand with quite innovative ways: User can take
  9. a picture with devices built-in camera or select any existing image from his device:
  10. Application will autodraw it into the sand.
  11. Let the sun shine!
  12. This example was made in Hackathon competition on Nokia World 2010.
  13. This application has been tested on Symbian^3, Symbian S60 5th Edition,
  14. Maemo (Nokia N900 PR1.2, PR1.3), Windows XP and Windows Vista with Qt 4.6.3/4.7.0 release.
  15. -------------------------------------------------------------------------------
  16. PREREQUISITES
  17. - Qt basics
  18. -------------------------------------------------------------------------------
  19. IMPORTANT FILES/CLASSES
  20. - sandbox_src: Platform independent C/C++ source implementing the actual simulation and
  21. rendering of the sand
  22. - teng_src: Platform independent C/C++ source providing general helper functionality and
  23. classes for image manipulation,mathematics, etc.
  24. - toolbarwidget.h: Custom toolbar that has different sand painting effects
  25. - widget.h: Application main widget that owns toolbar
  26. - ContactsDialog.h: Shows contacts from the mobile device
  27. - CameraFileObserver.h: Symbian class that listens pictures taken by native camera
  28. Important classes: QMainWindow, QImage
  29. -------------------------------------------------------------------------------
  30. REQUIRED CAPABILITIES
  31. TARGET.CAPABILITY = NetworkServices \
  32. ReadUserData \
  33. WriteUserData \
  34. LocalServices \
  35. UserEnvironment \
  36. ReadDeviceData \
  37. WriteDeviceData
  38. Because of using Qt Mobility modules: sensors contacts messaging
  39. -------------------------------------------------------------------------------
  40. RUNNING THE EXAMPLE
  41. Select tool to manipulate the sand: Add/remove, Finger, Shovel-push, Hurricane with the weight
  42. option of your choise. Take a picture with your camera or select an existing one and let the
  43. application paint it into the sand. Shake your device to mix the sand up. If you want to undo
  44. something, use the "restore" tool from the toolbar to get parts of the sand back into your
  45. original target. Change the direction of the light from directly below of the table or from
  46. any angle around it.
  47. -------------------------------------------------------------------------------
  48. BUILD & INSTALLATION INSTRUCTIONS
  49. Preparations
  50. ~~~~~~~~~~~~
  51. Check that you have at least latest Qt / Nokia Qt SDK installed in the development environment and on the device.
  52. Build & installation instructions using Nokia Qt SDK
  53. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  54. 1. Open qmultiwinexample.pro
  55. File -> Open File or Project, select quicksand.pro
  56. 2. Select target(s), for example "Qt for Symbian Devices (Nokia Qt SDK)" and press Finish button
  57. 3. Press Run button for the build the project and quicksand.sis Symbian install package is created
  58. 4. Sign sis on Open Signed Online, see more https://www.symbiansigned.com/app/page/public/openSignedOnline.do
  59. 5. Install signed sis quicksand.sis into your device using Nokia Ovi Suite or Nokia PC Suite
  60. Setting up Qt for Maemo on the Nokia N900 device
  61. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62. Enable root access, if missing:
  63. 1. Applications menu > More > App manager > Menu > Application catalogues
  64. > Maemo Extras Devel > Untick Disabled > Save
  65. 2. Applications menu > More > App manager > Download > Menu > Search
  66. > Type rootsh > Search > rootsh
  67. Qt is included in the device’s Nokia Applications repository:
  68. 1. Applications menu > More > X Terminal
  69. sudo gainroot
  70. apt-get install libqt4-gui libqtm-sensors libqtm-contacts libqtm-messaging
  71. Installing and running the application on a Maemo device
  72. """"""""""""""""""""""""""""""""""""""""""""""""""""""""
  73. Enable root access, if missing:
  74. 1. Applications menu > More > App manager > Menu > Application catalogues
  75. > Maemo Extras Devel > Untick Disabled > Save
  76. 2. Applications menu > More > App manager > Download > Menu > Search
  77. > Type rootsh > Search > rootsh
  78. Install the application from the X Terminal:
  79. 1. Applications menu > More > X Terminal
  80. sudo gainroot
  81. dpkg -i path/to/QuickSand.deb
  82. 2. Start the application from the QuickSand icon on the Nokia N900 device.
  83. -------------------------------------------------------------------------------
  84. COMPATIBILITY
  85. - Nokia Qt SDK 1.0
  86. - Nokia Qt SDK 1.0 MADDE Tools
  87. Tested on:
  88. - Nokia N8
  89. - Nokia E7
  90. - Nokia 5800
  91. - Nokia N900 (PR1.2, PR1.3 firmware)
  92. - Windows XP
  93. - Windows Vista
  94. - Windows 7
  95. Developed with:
  96. - Nokia Qt SDK 1.0
  97. -------------------------------------------------------------------------------
  98. VERSION HISTORY
  99. 1.0 First version from the Hackathon, Nokia World 2010
  100. -------------------------------------------------------------------------------
  101. RELATED DOCUMENTATION
  102. Hackathon competition on Nokia World 2010
  103. http://www.youtube.com/watch?v=pU44UZY44LI
  104. Wikipedia article about general fluid simulation
  105. http://en.wikipedia.org/wiki/Fluid_simulation