{"id":487,"date":"2010-07-08T16:07:51","date_gmt":"2010-07-08T13:07:51","guid":{"rendered":"http:\/\/salkku.org\/?p=487"},"modified":"2010-07-08T16:08:40","modified_gmt":"2010-07-08T13:08:40","slug":"running-qtscript-apps-in-n900","status":"publish","type":"post","link":"https:\/\/slmnn.kapsi.fi\/blog\/?p=487","title":{"rendered":"Running QtScript Apps in N900"},"content":{"rendered":"<p>With the latest PR 1.2 firmware, it is relatively easy to get QtScript based JavaScript applications running on Nokia N900. The steps to take are:<\/p>\n<ol>\n<li>Download and install <a href=\"http:\/\/www.forum.nokia.com\/info\/sw.nokia.com\/id\/e920da1a-5b18-42df-82c3-907413e525fb\/Nokia_Qt_SDK.html\">Nokia Qt SDK<\/a>.<\/li>\n<li>Download <a href=\"http:\/\/qt.gitorious.org\/qt-labs\/qtscriptgenerator\/commits\/master\">QtScriptGenerator<\/a> source, generate bindings for JavaScript, and compile them with the\u00a0<a href=\"http:\/\/qt.nokia.com\/developer\/qt-qtcreator-prerelease\/\">latest QtCreator<\/a> for Maemo target. To generate bindings you need to compile and run the generator binary (see QtScriptGenerator README for further instructions). On QtCreator, open the .pro file found from \/qtbindings\/ folder, enable building for Maemo and build the release version.<\/li>\n<li>Copy contents of the folder \/plugins\/script\/ and qs_eval binary from \/qtbindings\/qs_eval\/ to your N900 (I used \/usr\/qtscript\/ folder).<\/li>\n<li>Set executable rights for qs_eval (chmod a+x qs_eval).<\/li>\n<li>Install libqt4-script from Maemo 5 repository (apt-get install libqt4-script).<\/li>\n<\/ol>\n<p>Helpful tools to get things work on the N900 were <a href=\"http:\/\/www.nokian900applications.com\/unzip-for-nokia-n900\/\">unzip<\/a> and <a href=\"http:\/\/maemo.org\/downloads\/product\/Maemo5\/rootsh\/\">rootsh<\/a>. If you are lazy, and don&#8217;t want to do steps 1 and 2, you can just download compiled libraries from <a href=\"http:\/\/salkkuorg.wippiespace.com\/qtscript\/\">here<\/a>.<\/p>\n<p>See <a href=\"http:\/\/lively.cs.tut.fi\/qt\/index.html\">Lively for Qt project website<\/a> for\u00a0<a href=\"http:\/\/lively.cs.tut.fi\/qt\/applications.html\">example applications<\/a>.<\/p>\n<p>[simage=1191,400,y,center]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the latest PR 1.2 firmware, it is relatively easy to get QtScript based JavaScript applications running on Nokia N900. The steps to take are: Download and install Nokia Qt SDK. Download QtScriptGenerator source, generate bindings for JavaScript, and compile them with the\u00a0latest QtCreator for Maemo target. To generate bindings you need to compile and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,11,9,13],"tags":[],"_links":{"self":[{"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=\/wp\/v2\/posts\/487"}],"collection":[{"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=487"}],"version-history":[{"count":8,"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=\/wp\/v2\/posts\/487\/revisions"}],"predecessor-version":[{"id":496,"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=\/wp\/v2\/posts\/487\/revisions\/496"}],"wp:attachment":[{"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/slmnn.kapsi.fi\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}