So it used to support it with the MeeGo SDK (because there you could deploy
to MeeGo based tablets ) so I'm sure the code is there somewhere, just
needs some integration.

-Sivan


On Sat, Dec 22, 2012 at 2:53 PM, Timur Kristóf <[email protected]>wrote:

> Hey Sivan,
>
> I don't think I ever used this Html5ApplicationVIewer thing. But I'll look
> into it.
> Speaking of packaging, does Qt Creator support creating rpms yet? At all?
>
> Cheers,
> Timur
>
>
> On Sat, Dec 22, 2012 at 12:54 PM, Sivan Greenberg <[email protected]>wrote:
>
>> Timur! Nice to see you again.
>>
>>   So, basically the Nokia Qt SDK when asked to deploy to harmattan, uses
>> the template debian packaging it has to create the same Harmattan .deb it
>> does for Qt{Quick} applications with the difference that the main.cpp is
>> using a html5applicationviewer  to show the application (consisted out of
>> HTML/JS files) instead of qmlapplicationviewer :
>>
>> -
>> http://qt.gitorious.org/qt-creator/aportales-qt-creator/blobs/HEAD/share/qtcreator/templates/html5app/html5applicationviewer/html5applicationviewer.cpp
>>
>>
>> Exceptedly, the dir struct for html5 app is same minding
>> html5applicationviewer , and and s/qml/html :
>>
>>   sivan@future:~/QtSDK/untitled1$ ls -la
>> total 92
>> drwxrwxr-x  5 sivan sivan  4096 Dec 22 13:46 .
>> drwxrwxr-x 17 sivan sivan  4096 Dec 22 13:46 ..
>> drwxrwxr-x  2 sivan sivan  4096 Dec 22 13:46 html
>> drwxrwxr-x  2 sivan sivan  4096 Dec 22 13:46 html5applicationviewer
>> -rw-------  1 sivan sivan   354 Dec 22 13:46 main.cpp
>> drwxrwxr-x  3 sivan sivan  4096 Dec 22 13:46 qtc_packaging
>> -rw-------  1 sivan sivan  3400 Dec 22 13:46 untitled164.png
>> -rw-------  1 sivan sivan  4945 Dec 22 13:46 untitled180.png
>> -rw-------  1 sivan sivan   225 Dec 22 13:46 untitled1.desktop
>> -rw-------  1 sivan sivan   290 Dec 22 13:46 untitled1_harmattan.desktop
>> -rw-------  1 sivan sivan  1481 Dec 22 13:46 untitled1.pro
>> -rw-------  1 sivan sivan 36508 Dec 22 13:46 untitled1.pro.user
>> -rw-------  1 sivan sivan  6503 Dec 22 13:46 untitled1.svg
>>
>> So if we were to re-use this work in our Mer QtCreator we need just
>> adjust the packaging to support .rpm or more if Mer has a specific
>> structure it expects .rpm's to conform (.rpm's are much more loose then
>> .deb's wrt to policy so our MMV).
>>
>> But otherwise, since Mer has Qt (and WebKit, AFAIK) that's the only work
>> we need doing to support that.
>>
>> Cheers,
>>
>> -Sivan
>>
>>
>> On Sat, Dec 22, 2012 at 6:01 AM, Timur Kristóf 
>> <[email protected]>wrote:
>>
>>> Hey Sivan,
>>>
>>> If you can give me any pointers on how this is supposed to work on
>>> Harmattan, I could do the testing and think about how we could add such a
>>> feature to Nemo.
>>>
>>> Cheers,
>>> Timur
>>>
>>>
>>> On Thu, Dec 20, 2012 at 3:14 PM, Sivan Greenberg <[email protected]>wrote:
>>>
>>>> I am aware of that :) I was more trying to create a discussion around
>>>> the possible ways of packaging and development cycle for browser based
>>>> apps. HTML5/JS support exists in Qt Creator as per my discussions in
>>>> #qt-creator@freenode from yesterday, but needs testing and surely work
>>>> to support on-the-fly packaging and zyppering for Mer.
>>>>
>>>> I think it'd be safe to bet that not many tried deploying HTML5/JS apps
>>>> to Harmattan such that could provide good enough testing coverage, but I
>>>> might be wrong and the CI system might fill in where human hand is missing.
>>>>
>>>> Has any work done on that already, or what's the status? (opinions and
>>>> feedback also welcome)
>>>>
>>>> Cheers,
>>>>
>>>> -Sivan
>>>>
>>>>
>>>> On Thu, Dec 20, 2012 at 3:28 PM, Simonas Leleiva <
>>>> [email protected]> wrote:
>>>>
>>>>> On 19 December 2012 13:25, Sivan Greenberg <[email protected]>
>>>>> wrote:
>>>>> > So from quick check, it seems that creator supports all the editing
>>>>> features
>>>>> > including deployment (as expected since html5 apps were also part of
>>>>> the
>>>>> > MeeGo developer story) to Harmattan.
>>>>> >
>>>>> > Left to check: if this already supports 'upstream' meego (and hence
>>>>> Mer)
>>>>> > deployments through rpm packaging and see how agnostic the process
>>>>> is to
>>>>> > enable other IDEs that users might fancy using to be supported (like
>>>>> the
>>>>> > Android story).
>>>>> >
>>>>> > -Sivan
>>>>> >
>>>>> >
>>>>> > On Wed, Dec 19, 2012 at 1:21 PM, Sivan Greenberg <
>>>>> [email protected]>
>>>>> > wrote:
>>>>> >>
>>>>> >> Hi All,
>>>>> >>
>>>>> >>   Seeing we need to somehow support this story in the same ease of
>>>>> use I'd
>>>>> >> like to bring this up for discussion.
>>>>> >>
>>>>> >>   As I see it we could enable the following:
>>>>> >>
>>>>> >> - Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of
>>>>> the
>>>>> >> stack here I don't suppose there should be substantial issues in
>>>>> making
>>>>> >> QtCreator an HTML5/JS editing tool if not already applicable as
>>>>> such.
>>>>> >>
>>>>> >> - Support smooth testing and deployment on device through either
>>>>> one or
>>>>> >> all of the following:
>>>>> >> 1. Creator already supports the QtQuick application project, so use
>>>>> this
>>>>> >> work and change it to be a HTML5/JS Application very much in the
>>>>> same
>>>>> >> manner, replacing QmlApplicationViewer with HTMLApplicationViewer
>>>>> perhaps
>>>>> >> (WebKit is great help here).
>>>>> >>
>>>>> >> 2. Incorporate a lightweight http server, and through the setup of
>>>>> >> developer's Local LAN (same way like setting up Creator to deploy
>>>>> to a
>>>>> >> device) when hitting 'RUN' , application is serving on the
>>>>> development work
>>>>> >> station and a remote SSH call fire up the browser on the Mer device,
>>>>> >> pointing it to the right URL to view the HTML app for testing.
>>>>> >>
>>>>> >> It should be also possible to base upon the work of the Cordova
>>>>> approach
>>>>> >> with Android and come up with a IDE agnostic way for deployment and
>>>>> then
>>>>> >> allow both users of creator and other tools to add support for Mer
>>>>> HTML5/JS
>>>>> >> app dev and testing.
>>>>>
>>>>> http://wiki.qt-project.org/PhoneGap_for_Qt_5
>>>>>
>>>>> source:
>>>>> http://www.merproject.org/logs/%23mer/%23mer.2012-04-25.log.html :)
>>>>>
>>>>> >>
>>>>> >> An interesting discussion got started after the San Francisco dev
>>>>> days
>>>>> >> which we could benefit I think if we use the opportunity to extend
>>>>> runtimes,
>>>>> >> is here
>>>>> >>
>>>>> http://lists.qt-project.org/pipermail/development/2012-December/008425.html
>>>>> >> (recommended read for anybody who wants to contribute here).
>>>>> >>
>>>>> >> Thoughts and feedback?
>>>>> > > -Sivan
>>>>> > -Sivan
>>>>>
>>>>> Cheers,
>>>>> Simonas
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> -Sivan
>>>>
>>>
>>>
>>
>>
>> --
>> -Sivan
>>
>
>


-- 
-Sivan

Reply via email to