| | 1 | = Porting modRana to WebOS = |
| | 2 | |
| | 3 | == Prerequisites == |
| | 4 | What needs to be ported first for modRana to run. |
| | 5 | |
| | 6 | === Python === |
| | 7 | Already ported by THP. |
| | 8 | |
| | 9 | see: |
| | 10 | [http://thp.io/2011/webos/] |
| | 11 | |
| | 12 | === Qt + QML === |
| | 13 | Ported by !DanRog. |
| | 14 | |
| | 15 | see: |
| | 16 | [http://thp.io/2011/webos/] |
| | 17 | |
| | 18 | === !PySide === |
| | 19 | Needs to be ported. |
| | 20 | |
| | 21 | === Qt Components === |
| | 22 | Needs to be ported, shouldn't be difficult once the rest is done. |
| | 23 | |
| | 24 | == Progress == |
| | 25 | === Python - DONE === |
| | 26 | Just using the binaries from THP will do. |
| | 27 | |
| | 28 | === Qt - in progress === |
| | 29 | Following the Qt compilation guide on WebOS Internals: |
| | 30 | |
| | 31 | http://www.webos-internals.org/wiki/HowtoQt |
| | 32 | |
| | 33 | ==== Step 1 - DONE & WORKING ==== |
| | 34 | Compiled a C++ hello world: |
| | 35 | |
| | 36 | |
| | 37 | {{{ |
| | 38 | #include <iostream> |
| | 39 | #include <cstdlib> |
| | 40 | |
| | 41 | int main() |
| | 42 | { |
| | 43 | std::cout << "Hello world!\n"; |
| | 44 | |
| | 45 | return EXIT_SUCCESS; |
| | 46 | } |
| | 47 | }}} |
| | 48 | |
| | 49 | The compiled file runs fine on the Touchpad. |
| | 50 | |
| | 51 | ==== Step 2 ==== |